Class: Stigg::Models::V1::CustomerIntegrationResponse::Data

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

Overview

See Also:

Defined Under Namespace

Modules: SyncData, VendorIdentifier

Instance Attribute Summary collapse

Class Method 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(id:, synced_entity_id:, vendor_identifier:, sync_data: nil) ⇒ Object

Some parameter documentations has been truncated, see Stigg::Models::V1::CustomerIntegrationResponse::Data for more details.

External billing or CRM integration link

Parameters:



# File 'lib/stigg/models/v1/customer_integration_response.rb', line 50

Instance Attribute Details

#idString

Integration details

Returns:

  • (String)


24
# File 'lib/stigg/models/v1/customer_integration_response.rb', line 24

required :id, String

#sync_dataStigg::Models::V1::CustomerIntegrationResponse::Data::SyncData::SyncRevisionPriceBillingData, ...

Price billing sync revision data containing billing ID, link URL, and price group package billing ID



45
46
47
48
# File 'lib/stigg/models/v1/customer_integration_response.rb', line 45

optional :sync_data,
union: -> { Stigg::V1::CustomerIntegrationResponse::Data::SyncData },
api_name: :syncData,
nil?: true

#synced_entity_idString?

Synced entity id

Returns:

  • (String, nil)


30
# File 'lib/stigg/models/v1/customer_integration_response.rb', line 30

required :synced_entity_id, String, api_name: :syncedEntityId, nil?: true

#vendor_identifierSymbol, Stigg::Models::V1::CustomerIntegrationResponse::Data::VendorIdentifier

The vendor identifier of integration



36
37
38
# File 'lib/stigg/models/v1/customer_integration_response.rb', line 36

required :vendor_identifier,
enum: -> { Stigg::V1::CustomerIntegrationResponse::Data::VendorIdentifier },
api_name: :vendorIdentifier

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/stigg/models/v1/customer_integration_response.rb', line 81