Class: MetronomeSDK::Models::V1::SettingUpsertAvalaraCredentialsParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/metronome_sdk/models/v1/setting_upsert_avalara_credentials_params.rb

Overview

Defined Under Namespace

Modules: AvalaraEnvironment

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(avalara_environment: , avalara_password: , avalara_username: , delivery_method_ids: , request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::SettingUpsertAvalaraCredentialsParams for more details.

Parameters:

  • avalara_environment (Symbol, MetronomeSDK::Models::V1::SettingUpsertAvalaraCredentialsParams::AvalaraEnvironment) (defaults to: )

    The Avalara environment to use (SANDBOX or PRODUCTION).

  • avalara_password (String) (defaults to: )

    The password for the Avalara account.

  • avalara_username (String) (defaults to: )

    The username for the Avalara account.

  • delivery_method_ids (Array<String>) (defaults to: )

    The delivery method IDs of the billing provider configurations to update, can be

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


# File 'lib/metronome_sdk/models/v1/setting_upsert_avalara_credentials_params.rb', line 37


Instance Attribute Details

#avalara_environmentSymbol, MetronomeSDK::Models::V1::SettingUpsertAvalaraCredentialsParams::AvalaraEnvironment

The Avalara environment to use (SANDBOX or PRODUCTION).



15
16
# File 'lib/metronome_sdk/models/v1/setting_upsert_avalara_credentials_params.rb', line 15

required :avalara_environment,
enum: -> { MetronomeSDK::V1::SettingUpsertAvalaraCredentialsParams::AvalaraEnvironment }

#avalara_passwordString

The password for the Avalara account.

Returns:

  • (String)


22
# File 'lib/metronome_sdk/models/v1/setting_upsert_avalara_credentials_params.rb', line 22

required :avalara_password, String

#avalara_usernameString

The username for the Avalara account.

Returns:

  • (String)


28
# File 'lib/metronome_sdk/models/v1/setting_upsert_avalara_credentials_params.rb', line 28

required :avalara_username, String

#delivery_method_idsArray<String>

The delivery method IDs of the billing provider configurations to update, can be found in the response of the ‘/listConfiguredBillingProviders` endpoint.

Returns:

  • (Array<String>)


35
# File 'lib/metronome_sdk/models/v1/setting_upsert_avalara_credentials_params.rb', line 35

required :delivery_method_ids, MetronomeSDK::Internal::Type::ArrayOf[String]