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.



114
115
116
# File 'lib/stripe/resources/climate/order.rb', line 114

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.



112
113
114
# File 'lib/stripe/resources/climate/order.rb', line 112

def public_name
  @public_name
end