Class: Stripe::Issuing::CardholderCreateParams::Individual::CardIssuing::UserTermsAcceptance
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::CardholderCreateParams::Individual::CardIssuing::UserTermsAcceptance
- Defined in:
- lib/stripe/params/issuing/cardholder_create_params.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
The Unix timestamp marking when the cardholder accepted the Authorized User Terms.
-
#ip ⇒ Object
The IP address from which the cardholder accepted the Authorized User Terms.
-
#user_agent ⇒ Object
The user agent of the browser from which the cardholder accepted the Authorized User Terms.
Instance Method Summary collapse
-
#initialize(date: nil, ip: nil, user_agent: nil) ⇒ UserTermsAcceptance
constructor
A new instance of UserTermsAcceptance.
Methods inherited from RequestParams
Constructor Details
#initialize(date: nil, ip: nil, user_agent: nil) ⇒ UserTermsAcceptance
Returns a new instance of UserTermsAcceptance.
65 66 67 68 69 |
# File 'lib/stripe/params/issuing/cardholder_create_params.rb', line 65 def initialize(date: nil, ip: nil, user_agent: nil) @date = date @ip = ip @user_agent = user_agent end |
Instance Attribute Details
#date ⇒ Object
The Unix timestamp marking when the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users.
59 60 61 |
# File 'lib/stripe/params/issuing/cardholder_create_params.rb', line 59 def date @date end |
#ip ⇒ Object
The IP address from which the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users.
61 62 63 |
# File 'lib/stripe/params/issuing/cardholder_create_params.rb', line 61 def ip @ip end |
#user_agent ⇒ Object
The user agent of the browser from which the cardholder accepted the Authorized User Terms.
63 64 65 |
# File 'lib/stripe/params/issuing/cardholder_create_params.rb', line 63 def user_agent @user_agent end |