Class: Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/charge.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.



2131
2132
2133
2134
# File 'lib/stripe/resources/charge.rb', line 2131

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

Instance Attribute Details

#modeObject

The delivery method for the payment



2126
2127
2128
# File 'lib/stripe/resources/charge.rb', line 2126

def mode
  @mode
end

#recipientObject

Details of the recipient.



2129
2130
2131
# File 'lib/stripe/resources/charge.rb', line 2129

def recipient
  @recipient
end