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

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.



1375
1376
1377
1378
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1375

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

Instance Attribute Details

#modeObject

The delivery method for the payment



1371
1372
1373
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1371

def mode
  @mode
end

#recipientObject

Details of the recipient.



1373
1374
1375
# File 'lib/stripe/params/payment_intent_capture_params.rb', line 1373

def recipient
  @recipient
end