Class: Stripe::Climate::Order::CreateParams::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.



71
72
73
# File 'lib/stripe/resources/climate/order.rb', line 71

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.



69
70
71
# File 'lib/stripe/resources/climate/order.rb', line 69

def public_name
  @public_name
end