Class: Stripe::Issuing::CardholderService::UpdateParams::Individual::CardIssuing::UserTermsAcceptance
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::CardholderService::UpdateParams::Individual::CardIssuing::UserTermsAcceptance
- Defined in:
- lib/stripe/services/issuing/cardholder_service.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.
367 368 369 370 371 |
# File 'lib/stripe/services/issuing/cardholder_service.rb', line 367 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.
361 362 363 |
# File 'lib/stripe/services/issuing/cardholder_service.rb', line 361 def date @date end |
#ip ⇒ Object
The IP address from which the cardholder accepted the Authorized User Terms. Required for Celtic Spend Card users.
363 364 365 |
# File 'lib/stripe/services/issuing/cardholder_service.rb', line 363 def ip @ip end |
#user_agent ⇒ Object
The user agent of the browser from which the cardholder accepted the Authorized User Terms.
365 366 367 |
# File 'lib/stripe/services/issuing/cardholder_service.rb', line 365 def user_agent @user_agent end |