Class: Stripe::PaymentIntentCreateParams::PaymentDetails::Lodging::Delivery

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_create_params.rb

Defined Under Namespace

Classes: Recipient

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(mode: nil, recipient: nil) ⇒ Delivery

Returns a new instance of Delivery.



1428
1429
1430
1431
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1428

def initialize(mode: nil, recipient: nil)
  @mode = mode
  @recipient = recipient
end

Instance Attribute Details

#modeObject

The delivery method for the payment



1424
1425
1426
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1424

def mode
  @mode
end

#recipientObject

Details of the recipient.



1426
1427
1428
# File 'lib/stripe/params/payment_intent_create_params.rb', line 1426

def recipient
  @recipient
end