Class: Stripe::Source::UpdateParams::Mandate::Acceptance
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Source::UpdateParams::Mandate::Acceptance
- Defined in:
- lib/stripe/resources/source.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#date ⇒ Object
The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.
-
#ip ⇒ Object
The IP address from which the mandate was accepted or refused by the customer.
-
#offline ⇒ Object
The parameters required to store a mandate accepted offline.
-
#online ⇒ Object
The parameters required to store a mandate accepted online.
-
#status ⇒ Object
The status of the mandate acceptance.
-
#type ⇒ Object
The type of acceptance information included with the mandate.
-
#user_agent ⇒ Object
The user agent of the browser from which the mandate was accepted or refused by the customer.
Instance Method Summary collapse
-
#initialize(date: nil, ip: nil, offline: nil, online: nil, status: nil, type: nil, user_agent: nil) ⇒ Acceptance
constructor
A new instance of Acceptance.
Methods inherited from RequestParams
Constructor Details
#initialize(date: nil, ip: nil, offline: nil, online: nil, status: nil, type: nil, user_agent: nil) ⇒ Acceptance
Returns a new instance of Acceptance.
608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 |
# File 'lib/stripe/resources/source.rb', line 608 def initialize( date: nil, ip: nil, offline: nil, online: nil, status: nil, type: nil, user_agent: nil ) @date = date @ip = ip @offline = offline @online = online @status = status @type = type @user_agent = user_agent end |
Instance Attribute Details
#date ⇒ Object
The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.
594 595 596 |
# File 'lib/stripe/resources/source.rb', line 594 def date @date end |
#ip ⇒ Object
The IP address from which the mandate was accepted or refused by the customer.
596 597 598 |
# File 'lib/stripe/resources/source.rb', line 596 def ip @ip end |
#offline ⇒ Object
The parameters required to store a mandate accepted offline. Should only be set if ‘mandate` is `offline`
598 599 600 |
# File 'lib/stripe/resources/source.rb', line 598 def offline @offline end |
#online ⇒ Object
The parameters required to store a mandate accepted online. Should only be set if ‘mandate` is `online`
600 601 602 |
# File 'lib/stripe/resources/source.rb', line 600 def online @online end |
#status ⇒ Object
The status of the mandate acceptance. Either ‘accepted` (the mandate was accepted) or `refused` (the mandate was refused).
602 603 604 |
# File 'lib/stripe/resources/source.rb', line 602 def status @status end |
#type ⇒ Object
The type of acceptance information included with the mandate. Either ‘online` or `offline`
604 605 606 |
# File 'lib/stripe/resources/source.rb', line 604 def type @type end |
#user_agent ⇒ Object
The user agent of the browser from which the mandate was accepted or refused by the customer.
606 607 608 |
# File 'lib/stripe/resources/source.rb', line 606 def user_agent @user_agent end |