Class: Stigg::Models::V1::CustomerUpdateParams::Passthrough::Zuora

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/stigg/models/v1/customer_update_params.rb

Overview

See Also:

Defined Under Namespace

Modules: Currency Classes: BillingAddress

Instance Attribute Summary collapse

Instance Method Summary collapse

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(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) ⇒ Object

Physical address

Parameters:

  • city (String) (defaults to: nil)

    City name

  • country (String) (defaults to: nil)

    Country code or name

  • line1 (String) (defaults to: nil)

    Street address line 1

  • line2 (String) (defaults to: nil)

    Street address line 2

  • postal_code (String) (defaults to: nil)

    Postal or ZIP code

  • state (String) (defaults to: nil)

    State or province



# File 'lib/stigg/models/v1/customer_update_params.rb', line 557

Instance Attribute Details

#billing_addressStigg::Models::V1::CustomerUpdateParams::Passthrough::Zuora::BillingAddress?

Physical address



535
536
537
# File 'lib/stigg/models/v1/customer_update_params.rb', line 535

optional :billing_address,
-> { Stigg::V1::CustomerUpdateParams::Passthrough::Zuora::BillingAddress },
api_name: :billingAddress

#currencySymbol, ...

Customers selected currency



543
# File 'lib/stigg/models/v1/customer_update_params.rb', line 543

optional :currency, enum: -> { Stigg::V1::CustomerUpdateParams::Passthrough::Zuora::Currency }

#metadataHash{Symbol=>String}?

Additional metadata

Returns:

  • (Hash{Symbol=>String}, nil)


549
# File 'lib/stigg/models/v1/customer_update_params.rb', line 549

optional :metadata, Stigg::Internal::Type::HashOf[String]

#payment_method_idString?

Billing provider payment method id, attached to this customer

Returns:

  • (String, nil)


555
# File 'lib/stigg/models/v1/customer_update_params.rb', line 555

optional :payment_method_id, String, api_name: :paymentMethodId