Class: Stripe::FxQuote::Usage

Inherits:
StripeObject show all
Defined in:
lib/stripe/resources/fx_quote.rb

Defined Under Namespace

Classes: Payment, Transfer

Constant Summary

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from StripeObject

#last_response

Method Summary

Methods inherited from StripeObject

#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#paymentObject (readonly)

The details required to use an FX Quote for a payment



56
57
58
# File 'lib/stripe/resources/fx_quote.rb', line 56

def payment
  @payment
end

#transferObject (readonly)

The details required to use an FX Quote for a transfer



58
59
60
# File 'lib/stripe/resources/fx_quote.rb', line 58

def transfer
  @transfer
end

#typeObject (readonly)

The transaction type for which the FX Quote will be used.

Can be ‘payment’ or ‘transfer’.



62
63
64
# File 'lib/stripe/resources/fx_quote.rb', line 62

def type
  @type
end