Class: Lithic::Models::CardBulkOrderCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/lithic/models/card_bulk_order_create_params.rb

Overview

Defined Under Namespace

Modules: ShippingMethod

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(customer_product_id:, shipping_address:, shipping_method:, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::CardBulkOrderCreateParams for more details.

Parameters:

  • customer_product_id (String)

    Customer-specified product configuration for physical card manufacturing. This m

  • shipping_address (Object)

    Shipping address for all cards in this bulk order

  • shipping_method (Symbol, Lithic::Models::CardBulkOrderCreateParams::ShippingMethod)

    Shipping method for all cards in this bulk order

  • request_options (Lithic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/lithic/models/card_bulk_order_create_params.rb', line 29


Instance Attribute Details

#customer_product_idString

Customer-specified product configuration for physical card manufacturing. This must be configured with Lithic before use

Returns:

  • (String)


15
# File 'lib/lithic/models/card_bulk_order_create_params.rb', line 15

required :customer_product_id, String

#shipping_addressObject

Shipping address for all cards in this bulk order

Returns:

  • (Object)


21
# File 'lib/lithic/models/card_bulk_order_create_params.rb', line 21

required :shipping_address, Lithic::Internal::Type::Unknown

#shipping_methodSymbol, Lithic::Models::CardBulkOrderCreateParams::ShippingMethod

Shipping method for all cards in this bulk order



27
# File 'lib/lithic/models/card_bulk_order_create_params.rb', line 27

required :shipping_method, enum: -> { Lithic::CardBulkOrderCreateParams::ShippingMethod }