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 #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.retrieve(id : String) #

[View source]
def self.retrieve(refund : Stripe::Refund) #

[View source]

Instance Method Detail

def amount : Int32 #

[View source]
def balance_transaction : String | Nil #

[View source]
def charge : String #

[View source]
def created : Time #

[View source]
def currency : String #

[View source]
def failure_balance_transaction : String | Nil #

[View source]
def failure_reason : FailureReason | Nil #

[View source]
def id : String #

[View source]
def metadata : Hash(String, String) | Nil #

[View source]
def payment_intent : String | Nil | Stripe::PaymentIntent | Nil #

[View source]
def reason : Reason | Nil #

[View source]
def receipt_number : String | Nil #

[View source]
def source_transfer_reversal : String | Nil #

[View source]
def status : Status #

[View source]