class Stripe::Refund
- Stripe::Refund
- Reference
- Object
Included Modules
- JSON::Serializable
- StripeMethods
Defined in:
stripe/methods/core/refunds/create_refund.crstripe/objects/core/refund.cr
Constructors
- .create(charge : String | Stripe::Charge | Nil = nil, amount : Int32 | Nil = nil, metadata : Hash | Nil = nil, payment_intent : String | Stripe::PaymentIntent | Nil = nil, reason : String | Nil = nil) : Refund forall T, U
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #amount : Int32
- #balance_transaction : String | Nil
- #charge : String
- #created : Time
- #currency : String
- #failure_balance_transaction : String | Nil
- #failure_reason : FailureReason | Nil
- #id : String
- #metadata : Hash(String, String) | Nil
- #payment_intent : String | Nil | Stripe::PaymentIntent | Nil
- #reason : Reason | Nil
- #receipt_number : String | Nil
- #source_transfer_reversal : String | Nil
- #status : Status
Constructor Detail
def self.create(charge : String | Stripe::Charge | Nil = nil, amount : Int32 | Nil = nil, metadata : Hash | Nil = nil, payment_intent : String | Stripe::PaymentIntent | Nil = nil, reason : String | Nil = nil) : Refund forall T, U
#