Class: Stripe::PaymentIntentIncrementAuthorizationParams::AmountDetails::LineItem::PaymentMethodOptions::Paypal

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of Paypal.



72
73
74
75
76
# File 'lib/stripe/params/payment_intent_increment_authorization_params.rb', line 72

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.



66
67
68
# File 'lib/stripe/params/payment_intent_increment_authorization_params.rb', line 66

def category
  @category
end

#descriptionObject

Description of the line item.



68
69
70
# File 'lib/stripe/params/payment_intent_increment_authorization_params.rb', line 68

def description
  @description
end

#sold_byObject

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



70
71
72
# File 'lib/stripe/params/payment_intent_increment_authorization_params.rb', line 70

def sold_by
  @sold_by
end