Class: Stripe::Issuing::PersonalizationDesign::UpdateParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/issuing/personalization_design.rb

Defined Under Namespace

Classes: CarrierText, Preferences

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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) ⇒ UpdateParams

Returns a new instance of UpdateParams.



203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 203

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 = 
  @carrier_text = carrier_text
  @expand = expand
  @lookup_key = lookup_key
  @metadata = 
  @name = name
  @physical_bundle = physical_bundle
  @preferences = preferences
  @transfer_lookup_key = transfer_lookup_key
end

Instance Attribute Details

#card_logoObject

The file for the card logo, for use with physical bundles that support card logos. Must have a ‘purpose` value of `issuing_logo`.



185
186
187
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 185

def 
  @card_logo
end

#carrier_textObject

Hash containing carrier text, for use with physical bundles that support carrier text.



187
188
189
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 187

def carrier_text
  @carrier_text
end

#expandObject

Specifies which fields in the response should be expanded.



189
190
191
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 189

def expand
  @expand
end

#lookup_keyObject

A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.



191
192
193
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 191

def lookup_key
  @lookup_key
end

#metadataObject

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`.



193
194
195
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 193

def 
  @metadata
end

#nameObject

Friendly display name. Providing an empty string will set the field to null.



195
196
197
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 195

def name
  @name
end

#physical_bundleObject

The physical bundle object belonging to this personalization design.



197
198
199
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 197

def physical_bundle
  @physical_bundle
end

#preferencesObject

Information on whether this personalization design is used to create cards when one is not specified.



199
200
201
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 199

def preferences
  @preferences
end

#transfer_lookup_keyObject

If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design.



201
202
203
# File 'lib/stripe/resources/issuing/personalization_design.rb', line 201

def transfer_lookup_key
  @transfer_lookup_key
end