Class: Stripe::PaymentIntentCaptureParams::PaymentDetails::Lodging::Delivery

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

Defined Under Namespace

Classes: Recipient

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of Delivery.



1346
1347
1348
1349
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1346

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

Instance Attribute Details

#modeObject

The delivery method for the payment



1342
1343
1344
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1342

def mode
  @mode
end

#recipientObject

Details of the recipient.



1344
1345
1346
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1344

def recipient
  @recipient
end