class Stripe::Refund

Included Modules

Defined in:

stripe/methods/core/refunds/create_refund.cr
stripe/objects/core/refund.cr

Constructors

Class Method Summary

Instance Method Summary

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 #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.retrieve(id : String) #

def self.retrieve(refund : Stripe::Refund) #

Instance Method Detail

def amount : Int32 #

def balance_transaction : String | Nil #

def charge : String #

def created : Time #

def currency : String #

def failure_balance_transaction : String | Nil #

def failure_reason : FailureReason | Nil #

def id : String #

def metadata : Hash(String, String) | Nil #

def payment_intent : String | Nil | Stripe::PaymentIntent | Nil #

def reason : Reason | Nil #

def receipt_number : String | Nil #

def source_transfer_reversal : String | Nil #

def status : Status #