Class: Stripe::PaymentIntentCreateParams::AmountDetails::LineItem::PaymentMethodOptions::Paypal

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



58
59
60
61
62
# File 'lib/stripe/params/payment_intent_create_params.rb', line 58

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.



52
53
54
# File 'lib/stripe/params/payment_intent_create_params.rb', line 52

def category
  @category
end

#descriptionObject

Description of the line item.



54
55
56
# File 'lib/stripe/params/payment_intent_create_params.rb', line 54

def description
  @description
end

#sold_byObject

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



56
57
58
# File 'lib/stripe/params/payment_intent_create_params.rb', line 56

def sold_by
  @sold_by
end