Class: MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data
- Defined in:
- lib/metronome_sdk/models/v1/settings/billing_provider_list_response.rb
Defined Under Namespace
Modules: BillingProvider, DeliveryMethod
Instance Attribute Summary collapse
-
#billing_provider ⇒ Symbol, MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::BillingProvider
The billing provider set for this configuration.
-
#delivery_method ⇒ Symbol, MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::DeliveryMethod
The method to use for delivering invoices to this customer.
-
#delivery_method_configuration ⇒ Hash{Symbol=>Object}
Configuration for the delivery method.
-
#delivery_method_id ⇒ String
ID of the delivery method to use for this customer.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(billing_provider: , delivery_method: , delivery_method_configuration: , delivery_method_id: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Data for more details.
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(billing_provider: , delivery_method: , delivery_method_configuration: , delivery_method_id: ) ⇒ Object
Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data for more details.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/metronome_sdk/models/v1/settings/billing_provider_list_response.rb', line 24 class Data < MetronomeSDK::Internal::Type::BaseModel # @!attribute billing_provider # The billing provider set for this configuration. # # @return [Symbol, MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::BillingProvider] required :billing_provider, enum: -> { MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::BillingProvider } # @!attribute delivery_method # The method to use for delivering invoices to this customer. # # @return [Symbol, MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::DeliveryMethod] required :delivery_method, enum: -> { MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::DeliveryMethod } # @!attribute delivery_method_configuration # Configuration for the delivery method. The structure of this object is specific # to the delivery method. Some configuration may be omitted for security reasons. # # @return [Hash{Symbol=>Object}] required :delivery_method_configuration, MetronomeSDK::Internal::Type::HashOf[MetronomeSDK::Internal::Type::Unknown] # @!attribute delivery_method_id # ID of the delivery method to use for this customer. # # @return [String] required :delivery_method_id, String # @!method initialize(billing_provider:, delivery_method:, delivery_method_configuration:, delivery_method_id:) # Some parameter documentations has been truncated, see # {MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data} for more # details. # # @param billing_provider [Symbol, MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::BillingProvider] The billing provider set for this configuration. # # @param delivery_method [Symbol, MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::DeliveryMethod] The method to use for delivering invoices to this customer. # # @param delivery_method_configuration [Hash{Symbol=>Object}] Configuration for the delivery method. The structure of this object is specific # # @param delivery_method_id [String] ID of the delivery method to use for this customer. # The billing provider set for this configuration. # # @see MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data#billing_provider module BillingProvider extend MetronomeSDK::Internal::Type::Enum AWS_MARKETPLACE = :aws_marketplace STRIPE = :stripe NETSUITE = :netsuite CUSTOM = :custom AZURE_MARKETPLACE = :azure_marketplace QUICKBOOKS_ONLINE = :quickbooks_online WORKDAY = :workday GCP_MARKETPLACE = :gcp_marketplace METRONOME = :metronome # @!method self.values # @return [Array<Symbol>] end # The method to use for delivering invoices to this customer. # # @see MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data#delivery_method module DeliveryMethod extend MetronomeSDK::Internal::Type::Enum DIRECT_TO_BILLING_PROVIDER = :direct_to_billing_provider AWS_SQS = :aws_sqs TACKLE = :tackle AWS_SNS = :aws_sns # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#billing_provider ⇒ Symbol, MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::BillingProvider
The billing provider set for this configuration.
29 30 |
# File 'lib/metronome_sdk/models/v1/settings/billing_provider_list_response.rb', line 29 required :billing_provider, enum: -> { MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::BillingProvider } |
#delivery_method ⇒ Symbol, MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::DeliveryMethod
The method to use for delivering invoices to this customer.
36 37 |
# File 'lib/metronome_sdk/models/v1/settings/billing_provider_list_response.rb', line 36 required :delivery_method, enum: -> { MetronomeSDK::Models::V1::Settings::BillingProviderListResponse::Data::DeliveryMethod } |
#delivery_method_configuration ⇒ Hash{Symbol=>Object}
Configuration for the delivery method. The structure of this object is specific to the delivery method. Some configuration may be omitted for security reasons.
44 45 |
# File 'lib/metronome_sdk/models/v1/settings/billing_provider_list_response.rb', line 44 required :delivery_method_configuration, MetronomeSDK::Internal::Type::HashOf[MetronomeSDK::Internal::Type::Unknown] |
#delivery_method_id ⇒ String
ID of the delivery method to use for this customer.
51 |
# File 'lib/metronome_sdk/models/v1/settings/billing_provider_list_response.rb', line 51 required :delivery_method_id, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/metronome_sdk/models/v1/settings/billing_provider_list_response.rb', line 82
|