Stripe::Charge
Inherits JSON::Serializable / Reference / Object
https://stripe.com/docs/api/charges/object
Constructors
create(amount : Int32, currency : String, application_fee : Int32 | Nil = nil, capture : Bool | Nil = nil, customer : String | Customer | Nil = nil, description : String | Nil = nil, destination : T | Nil = nil, metadata : Hash(String, String) | Nil = nil, on_behalf_of : String | Nil = nil, receipt_email : String | Nil = nil, shipping : U | Nil = nil, source : String | Token | PaymentMethods::Card | PaymentMethods::BankAccount | Nil = nil, statement_descriptor : String | Nil = nil, transfer_group : String | Nil = nil, expand : Array(String) | Nil = nil) : Charge forall T, U
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
amount
Sourceamount_captured
Sourceamount_refunded
Sourceapplication
Sourceapplication_fee
Sourceapplication_fee_amount
Sourcebalance_transaction
Sourcebilling_details
Sourcecaptured
Sourcecreated
Sourcecurrency
Sourcecustomer
Sourcedescription
Sourcedestination
Sourcedispute
Sourcefailure_code
Sourcefailure_message
Sourcefraud_details
Sourceid
Sourceinvoice
Sourcelivemode?
Sourcemetadata
Sourceon_behalf_of
Sourceorder
Sourceoutcome
Sourcepaid
Sourcepayment_intent
Sourcereceipt_email
Sourcereceipt_number
Sourcereceipt_url
Sourcerefunded?
Sourcerefunds
Sourcereview
Sourceshipping
Sourcesource
Sourcesource_transfer
Sourcestatement_descriptor
Sourcestatement_descriptor_suffix
Sourcestatus
Sourcetransfer
Sourcetransfer_data
Sourcetransfer_group
Source