Class: Stripe::Issuing::Cardholder::UpdateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::Cardholder::UpdateParams
- Defined in:
- lib/stripe/resources/issuing/cardholder.rb
Defined Under Namespace
Classes: Billing, Company, Individual, SpendingControls
Instance Attribute Summary collapse
-
#billing ⇒ Object
The cardholder’s billing address.
-
#company ⇒ Object
Additional information about a ‘company` cardholder.
-
#email ⇒ Object
The cardholder’s email address.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#individual ⇒ Object
Additional information about an ‘individual` cardholder.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#phone_number ⇒ Object
The cardholder’s phone number.
-
#preferred_locales ⇒ Object
The cardholder’s preferred locales (languages), ordered by preference.
-
#spending_controls ⇒ Object
Rules that control spending across this cardholder’s cards.
-
#status ⇒ Object
Specifies whether to permit authorizations on this cardholder’s cards.
Instance Method Summary collapse
-
#initialize(billing: nil, company: nil, email: nil, expand: nil, individual: nil, metadata: nil, phone_number: nil, preferred_locales: nil, spending_controls: nil, status: nil) ⇒ UpdateParams
constructor
A new instance of UpdateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(billing: nil, company: nil, email: nil, expand: nil, individual: nil, metadata: nil, phone_number: nil, preferred_locales: nil, spending_controls: nil, status: nil) ⇒ UpdateParams
Returns a new instance of UpdateParams.
609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 609 def initialize( billing: nil, company: nil, email: nil, expand: nil, individual: nil, metadata: nil, phone_number: nil, preferred_locales: nil, spending_controls: nil, status: nil ) @billing = billing @company = company @email = email = @individual = individual = @phone_number = phone_number @preferred_locales = preferred_locales @spending_controls = spending_controls @status = status end |
Instance Attribute Details
#billing ⇒ Object
The cardholder’s billing address.
588 589 590 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 588 def billing @billing end |
#company ⇒ Object
Additional information about a ‘company` cardholder.
590 591 592 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 590 def company @company end |
#email ⇒ Object
The cardholder’s email address.
592 593 594 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 592 def email @email end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
594 595 596 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 594 def end |
#individual ⇒ Object
Additional information about an ‘individual` cardholder.
596 597 598 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 596 def individual @individual end |
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to ‘metadata`.
598 599 600 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 598 def end |
#phone_number ⇒ Object
The cardholder’s phone number. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](stripe.com/docs/issuing/3d-secure) for more details.
600 601 602 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 600 def phone_number @phone_number end |
#preferred_locales ⇒ Object
The cardholder’s preferred locales (languages), ordered by preference. Locales can be ‘de`, `en`, `es`, `fr`, or `it`.
This changes the language of the [3D Secure flow](https://stripe.com/docs/issuing/3d-secure) and one-time password sent to the cardholder.
603 604 605 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 603 def preferred_locales @preferred_locales end |
#spending_controls ⇒ Object
Rules that control spending across this cardholder’s cards. Refer to our [documentation](stripe.com/docs/issuing/controls/spending-controls) for more details.
605 606 607 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 605 def spending_controls @spending_controls end |
#status ⇒ Object
Specifies whether to permit authorizations on this cardholder’s cards.
607 608 609 |
# File 'lib/stripe/resources/issuing/cardholder.rb', line 607 def status @status end |