Class: Stripe::Treasury::OutboundPaymentService::CreateParams::EndUserDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Treasury::OutboundPaymentService::CreateParams::EndUserDetails
- Defined in:
- lib/stripe/services/treasury/outbound_payment_service.rb
Instance Attribute Summary collapse
-
#ip_address ⇒ Object
IP address of the user initiating the OutboundPayment.
-
#present ⇒ Object
‘True` if the OutboundPayment creation request is being made on behalf of an end user by a platform.
Instance Method Summary collapse
-
#initialize(ip_address: nil, present: nil) ⇒ EndUserDetails
constructor
A new instance of EndUserDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(ip_address: nil, present: nil) ⇒ EndUserDetails
Returns a new instance of EndUserDetails.
188 189 190 191 |
# File 'lib/stripe/services/treasury/outbound_payment_service.rb', line 188 def initialize(ip_address: nil, present: nil) @ip_address = ip_address @present = present end |
Instance Attribute Details
#ip_address ⇒ Object
IP address of the user initiating the OutboundPayment. Must be supplied if ‘present` is set to `true`.
184 185 186 |
# File 'lib/stripe/services/treasury/outbound_payment_service.rb', line 184 def ip_address @ip_address end |
#present ⇒ Object
‘True` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`.
186 187 188 |
# File 'lib/stripe/services/treasury/outbound_payment_service.rb', line 186 def present @present end |