Class: Stripe::Climate::Order::UpdateParams::Beneficiary

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/climate/order.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(public_name: nil) ⇒ Beneficiary

Returns a new instance of Beneficiary.



123
124
125
# File 'lib/stripe/resources/climate/order.rb', line 123

def initialize(public_name: nil)
  @public_name = public_name
end

Instance Attribute Details

#public_nameObject

Publicly displayable name for the end beneficiary of carbon removal.



121
122
123
# File 'lib/stripe/resources/climate/order.rb', line 121

def public_name
  @public_name
end