Class: Stripe::Issuing::PersonalizationDesign::CreateParams
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Issuing::PersonalizationDesign::CreateParams
- Defined in:
- lib/stripe/resources/issuing/personalization_design.rb
Defined Under Namespace
Classes: CarrierText, Preferences
Instance Attribute Summary collapse
-
#card_logo ⇒ Object
The file for the card logo, for use with physical bundles that support card logos.
-
#carrier_text ⇒ Object
Hash containing carrier text, for use with physical bundles that support carrier text.
-
#expand ⇒ Object
Specifies which fields in the response should be expanded.
-
#lookup_key ⇒ Object
A lookup key used to retrieve personalization designs dynamically from a static string.
-
#metadata ⇒ Object
Set of [key-value pairs](stripe.com/docs/api/metadata) that you can attach to an object.
-
#name ⇒ Object
Friendly display name.
-
#physical_bundle ⇒ Object
The physical bundle object belonging to this personalization design.
-
#preferences ⇒ Object
Information on whether this personalization design is used to create cards when one is not specified.
-
#transfer_lookup_key ⇒ Object
If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design.
Instance Method Summary collapse
-
#initialize(card_logo: nil, carrier_text: nil, expand: nil, lookup_key: nil, metadata: nil, name: nil, physical_bundle: nil, preferences: nil, transfer_lookup_key: nil) ⇒ CreateParams
constructor
A new instance of CreateParams.
Methods inherited from RequestParams
Constructor Details
#initialize(card_logo: nil, carrier_text: nil, expand: nil, lookup_key: nil, metadata: nil, name: nil, physical_bundle: nil, preferences: nil, transfer_lookup_key: nil) ⇒ CreateParams
Returns a new instance of CreateParams.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 134 def initialize( card_logo: nil, carrier_text: nil, expand: nil, lookup_key: nil, metadata: nil, name: nil, physical_bundle: nil, preferences: nil, transfer_lookup_key: nil ) @card_logo = card_logo @carrier_text = carrier_text = @lookup_key = lookup_key = @name = name @physical_bundle = physical_bundle @preferences = preferences @transfer_lookup_key = transfer_lookup_key end |
Instance Attribute Details
#card_logo ⇒ Object
The file for the card logo, for use with physical bundles that support card logos. Must have a ‘purpose` value of `issuing_logo`.
116 117 118 |
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 116 def card_logo @card_logo end |
#carrier_text ⇒ Object
Hash containing carrier text, for use with physical bundles that support carrier text.
118 119 120 |
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 118 def carrier_text @carrier_text end |
#expand ⇒ Object
Specifies which fields in the response should be expanded.
120 121 122 |
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 120 def end |
#lookup_key ⇒ Object
A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.
122 123 124 |
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 122 def lookup_key @lookup_key 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`.
124 125 126 |
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 124 def end |
#name ⇒ Object
Friendly display name.
126 127 128 |
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 126 def name @name end |
#physical_bundle ⇒ Object
The physical bundle object belonging to this personalization design.
128 129 130 |
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 128 def physical_bundle @physical_bundle end |
#preferences ⇒ Object
Information on whether this personalization design is used to create cards when one is not specified.
130 131 132 |
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 130 def preferences @preferences end |
#transfer_lookup_key ⇒ Object
If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design.
132 133 134 |
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 132 def transfer_lookup_key @transfer_lookup_key end |