Class: Stripe::PaymentIntentUpdateParams::AmountDetails::LineItem::PaymentMethodOptions::Paypal

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(category: nil, description: nil, sold_by: nil) ⇒ Paypal

Returns a new instance of Paypal.



50
51
52
53
54
# File 'lib/stripe/params/payment_intent_update_params.rb', line 50

def initialize(category: nil, description: nil, sold_by: nil)
  @category = category
  @description = description
  @sold_by = sold_by
end

Instance Attribute Details

#categoryObject

Type of the line item.



44
45
46
# File 'lib/stripe/params/payment_intent_update_params.rb', line 44

def category
  @category
end

#descriptionObject

Description of the line item.



46
47
48
# File 'lib/stripe/params/payment_intent_update_params.rb', line 46

def description
  @description
end

#sold_byObject

The Stripe account ID of the connected account that sells the item.



48
49
50
# File 'lib/stripe/params/payment_intent_update_params.rb', line 48

def sold_by
  @sold_by
end