Documentation ¶
Index ¶
- type AddContactContactParams
- type AddContactRequestParams
- type AddPromotionalCreditsRequestParams
- type AssignPaymentRoleRequestParams
- type Balance
- type BillingAddress
- type ChangeBillingDateRequestParams
- type ChildAccountAccess
- type CollectPaymentCardParams
- type CollectPaymentInvoiceAllocationParams
- type CollectPaymentPaymentIntentParams
- type CollectPaymentPaymentMethodParams
- type CollectPaymentRequestParams
- type Contact
- type ContactsForCustomerRequestParams
- type CreateBankAccountParams
- type CreateBillingAddressParams
- type CreateCardParams
- type CreateEntityIdentifierParams
- type CreatePaymentIntentParams
- type CreatePaymentMethodParams
- type CreateRequestParams
- type Customer
- type DeductPromotionalCreditsRequestParams
- type DeleteContactContactParams
- type DeleteContactRequestParams
- type DeleteRequestParams
- type EntityIdentifier
- type HierarchyRequestParams
- type ListRelationshipParams
- type ListRequestParams
- type MergeRequestParams
- type MoveRequestParams
- type ParentAccountAccess
- type PaymentMethod
- type RecordExcessPaymentRequestParams
- type RecordExcessPaymentTransactionParams
- type ReferralUrl
- type Relationship
- type RelationshipsChildAccountAccessParams
- type RelationshipsParentAccountAccessParams
- type RelationshipsRequestParams
- type SetPromotionalCreditsRequestParams
- type UpdateBillingInfoBillingAddressParams
- type UpdateBillingInfoEntityIdentifierParams
- type UpdateBillingInfoRequestParams
- type UpdateContactContactParams
- type UpdateContactRequestParams
- type UpdateHierarchySettingsChildAccountAccessParams
- type UpdateHierarchySettingsParentAccountAccessParams
- type UpdateHierarchySettingsRequestParams
- type UpdatePaymentMethodPaymentMethodParams
- type UpdatePaymentMethodRequestParams
- type UpdateRequestParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddContactContactParams ¶
type AddContactContactParams struct { Id string `json:"id,omitempty"` FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Email string `json:"email"` Phone string `json:"phone,omitempty"` Label string `json:"label,omitempty"` Enabled *bool `json:"enabled,omitempty"` SendBillingEmail *bool `json:"send_billing_email,omitempty"` SendAccountEmail *bool `json:"send_account_email,omitempty"` }
type AddContactRequestParams ¶
type AddContactRequestParams struct {
Contact *AddContactContactParams `json:"contact,omitempty"`
}
type Balance ¶
type Balance struct { PromotionalCredits int32 `json:"promotional_credits"` ExcessPayments int32 `json:"excess_payments"` RefundableCredits int32 `json:"refundable_credits"` UnbilledCharges int32 `json:"unbilled_charges"` CurrencyCode string `json:"currency_code"` BalanceCurrencyCode string `json:"balance_currency_code"` Object string `json:"object"` }
type BillingAddress ¶
type BillingAddress struct { FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` Company string `json:"company"` Phone string `json:"phone"` Line1 string `json:"line1"` Line2 string `json:"line2"` Line3 string `json:"line3"` City string `json:"city"` StateCode string `json:"state_code"` State string `json:"state"` Country string `json:"country"` Zip string `json:"zip"` ValidationStatus enum.ValidationStatus `json:"validation_status"` Object string `json:"object"` }
type ChangeBillingDateRequestParams ¶
type ChangeBillingDateRequestParams struct { BillingDate *int32 `json:"billing_date,omitempty"` BillingMonth *int32 `json:"billing_month,omitempty"` BillingDateMode enum.BillingDateMode `json:"billing_date_mode,omitempty"` BillingDayOfWeek customerEnum.BillingDayOfWeek `json:"billing_day_of_week,omitempty"` BillingDayOfWeekMode enum.BillingDayOfWeekMode `json:"billing_day_of_week_mode,omitempty"` }
type ChildAccountAccess ¶
type ChildAccountAccess struct { PortalEditSubscriptions customerEnum.ChildAccountAccessPortalEditSubscriptions `json:"portal_edit_subscriptions"` PortalDownloadInvoices customerEnum.ChildAccountAccessPortalDownloadInvoices `json:"portal_download_invoices"` SendSubscriptionEmails bool `json:"send_subscription_emails"` SendInvoiceEmails bool `json:"send_invoice_emails"` SendPaymentEmails bool `json:"send_payment_emails"` Object string `json:"object"` }
type CollectPaymentCardParams ¶
type CollectPaymentCardParams struct { GatewayAccountId string `json:"gateway_account_id,omitempty"` FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Number string `json:"number,omitempty"` ExpiryMonth *int32 `json:"expiry_month,omitempty"` ExpiryYear *int32 `json:"expiry_year,omitempty"` Cvv string `json:"cvv,omitempty"` BillingAddr1 string `json:"billing_addr1,omitempty"` BillingAddr2 string `json:"billing_addr2,omitempty"` BillingCity string `json:"billing_city,omitempty"` BillingStateCode string `json:"billing_state_code,omitempty"` BillingState string `json:"billing_state,omitempty"` BillingZip string `json:"billing_zip,omitempty"` BillingCountry string `json:"billing_country,omitempty"` AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` }
type CollectPaymentPaymentIntentParams ¶
type CollectPaymentPaymentIntentParams struct { Id string `json:"id,omitempty"` GatewayAccountId string `json:"gateway_account_id,omitempty"` GwToken string `json:"gw_token,omitempty"` PaymentMethodType paymentIntentEnum.PaymentMethodType `json:"payment_method_type,omitempty"` GwPaymentMethodId string `json:"gw_payment_method_id,omitempty"` ReferenceId string `json:"reference_id,omitempty"` AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` }
type CollectPaymentPaymentMethodParams ¶
type CollectPaymentPaymentMethodParams struct { Type enum.Type `json:"type,omitempty"` GatewayAccountId string `json:"gateway_account_id,omitempty"` ReferenceId string `json:"reference_id,omitempty"` TmpToken string `json:"tmp_token,omitempty"` AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` }
type CollectPaymentRequestParams ¶
type CollectPaymentRequestParams struct { Amount *int32 `json:"amount,omitempty"` InvoiceAllocations []*CollectPaymentInvoiceAllocationParams `json:"invoice_allocations,omitempty"` PaymentSourceId string `json:"payment_source_id,omitempty"` TokenId string `json:"token_id,omitempty"` PaymentMethod *CollectPaymentPaymentMethodParams `json:"payment_method,omitempty"` Card *CollectPaymentCardParams `json:"card,omitempty"` PaymentIntent *CollectPaymentPaymentIntentParams `json:"payment_intent,omitempty"` ReplacePrimaryPaymentSource *bool `json:"replace_primary_payment_source,omitempty"` RetainPaymentSource *bool `json:"retain_payment_source,omitempty"` PaymentInitiator enum.PaymentInitiator `json:"payment_initiator,omitempty"` }
type Contact ¶
type Contact struct { Id string `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` Phone string `json:"phone"` Label string `json:"label"` Enabled bool `json:"enabled"` SendAccountEmail bool `json:"send_account_email"` SendBillingEmail bool `json:"send_billing_email"` Object string `json:"object"` }
type CreateBankAccountParams ¶
type CreateBankAccountParams struct { GatewayAccountId string `json:"gateway_account_id,omitempty"` Iban string `json:"iban,omitempty"` FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Company string `json:"company,omitempty"` Email string `json:"email,omitempty"` Phone string `json:"phone,omitempty"` BankName string `json:"bank_name,omitempty"` AccountNumber string `json:"account_number,omitempty"` RoutingNumber string `json:"routing_number,omitempty"` BankCode string `json:"bank_code,omitempty"` AccountType enum.AccountType `json:"account_type,omitempty"` AccountHolderType enum.AccountHolderType `json:"account_holder_type,omitempty"` EcheckType enum.EcheckType `json:"echeck_type,omitempty"` IssuingCountry string `json:"issuing_country,omitempty"` SwedishIdentityNumber string `json:"swedish_identity_number,omitempty"` BillingAddress map[string]interface{} `json:"billing_address,omitempty"` }
type CreateBillingAddressParams ¶
type CreateBillingAddressParams struct { FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Email string `json:"email,omitempty"` Company string `json:"company,omitempty"` Phone string `json:"phone,omitempty"` Line1 string `json:"line1,omitempty"` Line2 string `json:"line2,omitempty"` Line3 string `json:"line3,omitempty"` City string `json:"city,omitempty"` StateCode string `json:"state_code,omitempty"` State string `json:"state,omitempty"` Zip string `json:"zip,omitempty"` Country string `json:"country,omitempty"` ValidationStatus enum.ValidationStatus `json:"validation_status,omitempty"` }
type CreateCardParams ¶
type CreateCardParams struct { Gateway enum.Gateway `json:"gateway,omitempty"` GatewayAccountId string `json:"gateway_account_id,omitempty"` TmpToken string `json:"tmp_token,omitempty"` FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Number string `json:"number,omitempty"` ExpiryMonth *int32 `json:"expiry_month,omitempty"` ExpiryYear *int32 `json:"expiry_year,omitempty"` Cvv string `json:"cvv,omitempty"` BillingAddr1 string `json:"billing_addr1,omitempty"` BillingAddr2 string `json:"billing_addr2,omitempty"` BillingCity string `json:"billing_city,omitempty"` BillingStateCode string `json:"billing_state_code,omitempty"` BillingState string `json:"billing_state,omitempty"` BillingZip string `json:"billing_zip,omitempty"` BillingCountry string `json:"billing_country,omitempty"` IpAddress string `json:"ip_address,omitempty"` AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` }
type CreatePaymentIntentParams ¶
type CreatePaymentIntentParams struct { Id string `json:"id,omitempty"` GatewayAccountId string `json:"gateway_account_id,omitempty"` GwToken string `json:"gw_token,omitempty"` PaymentMethodType paymentIntentEnum.PaymentMethodType `json:"payment_method_type,omitempty"` ReferenceId string `json:"reference_id,omitempty"` GwPaymentMethodId string `json:"gw_payment_method_id,omitempty"` AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` }
type CreatePaymentMethodParams ¶
type CreatePaymentMethodParams struct { Type enum.Type `json:"type,omitempty"` Gateway enum.Gateway `json:"gateway,omitempty"` GatewayAccountId string `json:"gateway_account_id,omitempty"` ReferenceId string `json:"reference_id,omitempty"` TmpToken string `json:"tmp_token,omitempty"` IssuingCountry string `json:"issuing_country,omitempty"` AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` }
type CreateRequestParams ¶
type CreateRequestParams struct { Id string `json:"id,omitempty"` FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Email string `json:"email,omitempty"` PreferredCurrencyCode string `json:"preferred_currency_code,omitempty"` Phone string `json:"phone,omitempty"` Company string `json:"company,omitempty"` AutoCollection enum.AutoCollection `json:"auto_collection,omitempty"` NetTermDays *int32 `json:"net_term_days,omitempty"` AllowDirectDebit *bool `json:"allow_direct_debit,omitempty"` VatNumber string `json:"vat_number,omitempty"` VatNumberPrefix string `json:"vat_number_prefix,omitempty"` EntityIdentifierScheme string `json:"entity_identifier_scheme,omitempty"` EntityIdentifierStandard string `json:"entity_identifier_standard,omitempty"` RegisteredForGst *bool `json:"registered_for_gst,omitempty"` IsEinvoiceEnabled *bool `json:"is_einvoice_enabled,omitempty"` EinvoicingMethod enum.EinvoicingMethod `json:"einvoicing_method,omitempty"` Taxability enum.Taxability `json:"taxability,omitempty"` ExemptionDetails []map[string]interface{} `json:"exemption_details,omitempty"` CustomerType enum.CustomerType `json:"customer_type,omitempty"` ClientProfileId string `json:"client_profile_id,omitempty"` TaxjarExemptionCategory enum.TaxjarExemptionCategory `json:"taxjar_exemption_category,omitempty"` BusinessCustomerWithoutVatNumber *bool `json:"business_customer_without_vat_number,omitempty"` Locale string `json:"locale,omitempty"` EntityCode enum.EntityCode `json:"entity_code,omitempty"` ExemptNumber string `json:"exempt_number,omitempty"` MetaData map[string]interface{} `json:"meta_data,omitempty"` OfflinePaymentMethod enum.OfflinePaymentMethod `json:"offline_payment_method,omitempty"` AutoCloseInvoices *bool `json:"auto_close_invoices,omitempty"` ConsolidatedInvoicing *bool `json:"consolidated_invoicing,omitempty"` Card *CreateCardParams `json:"card,omitempty"` BankAccount *CreateBankAccountParams `json:"bank_account,omitempty"` TokenId string `json:"token_id,omitempty"` PaymentMethod *CreatePaymentMethodParams `json:"payment_method,omitempty"` PaymentIntent *CreatePaymentIntentParams `json:"payment_intent,omitempty"` BillingAddress *CreateBillingAddressParams `json:"billing_address,omitempty"` EntityIdentifiers []*CreateEntityIdentifierParams `json:"entity_identifiers,omitempty"` BusinessEntityId string `json:"business_entity_id,omitempty"` CreatedFromIp string `json:"created_from_ip,omitempty"` InvoiceNotes string `json:"invoice_notes,omitempty"` }
type Customer ¶
type Customer struct { Id string `json:"id"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Email string `json:"email"` Phone string `json:"phone"` Company string `json:"company"` VatNumber string `json:"vat_number"` AutoCollection enum.AutoCollection `json:"auto_collection"` OfflinePaymentMethod enum.OfflinePaymentMethod `json:"offline_payment_method"` NetTermDays int32 `json:"net_term_days"` VatNumberValidatedTime int64 `json:"vat_number_validated_time"` VatNumberStatus customerEnum.VatNumberStatus `json:"vat_number_status"` AllowDirectDebit bool `json:"allow_direct_debit"` IsLocationValid bool `json:"is_location_valid"` CreatedAt int64 `json:"created_at"` CreatedFromIp string `json:"created_from_ip"` ExemptionDetails json.RawMessage `json:"exemption_details"` Taxability enum.Taxability `json:"taxability"` EntityCode enum.EntityCode `json:"entity_code"` ExemptNumber string `json:"exempt_number"` ResourceVersion int64 `json:"resource_version"` UpdatedAt int64 `json:"updated_at"` Locale string `json:"locale"` BillingDate int32 `json:"billing_date"` BillingMonth int32 `json:"billing_month"` BillingDateMode enum.BillingDateMode `json:"billing_date_mode"` BillingDayOfWeek customerEnum.BillingDayOfWeek `json:"billing_day_of_week"` BillingDayOfWeekMode enum.BillingDayOfWeekMode `json:"billing_day_of_week_mode"` PiiCleared customerEnum.PiiCleared `json:"pii_cleared"` AutoCloseInvoices bool `json:"auto_close_invoices"` Channel enum.Channel `json:"channel"` CardStatus customerEnum.CardStatus `json:"card_status"` FraudFlag customerEnum.FraudFlag `json:"fraud_flag"` PrimaryPaymentSourceId string `json:"primary_payment_source_id"` BackupPaymentSourceId string `json:"backup_payment_source_id"` BillingAddress *BillingAddress `json:"billing_address"` ReferralUrls []*ReferralUrl `json:"referral_urls"` Contacts []*Contact `json:"contacts"` PaymentMethod *PaymentMethod `json:"payment_method"` InvoiceNotes string `json:"invoice_notes"` BusinessEntityId string `json:"business_entity_id"` PreferredCurrencyCode string `json:"preferred_currency_code"` PromotionalCredits int32 `json:"promotional_credits"` UnbilledCharges int32 `json:"unbilled_charges"` RefundableCredits int32 `json:"refundable_credits"` ExcessPayments int32 `json:"excess_payments"` Balances []*Balance `json:"balances"` EntityIdentifiers []*EntityIdentifier `json:"entity_identifiers"` IsEinvoiceEnabled bool `json:"is_einvoice_enabled"` EinvoicingMethod enum.EinvoicingMethod `json:"einvoicing_method"` MetaData json.RawMessage `json:"meta_data"` Deleted bool `json:"deleted"` RegisteredForGst bool `json:"registered_for_gst"` ConsolidatedInvoicing bool `json:"consolidated_invoicing"` CustomerType enum.CustomerType `json:"customer_type"` BusinessCustomerWithoutVatNumber bool `json:"business_customer_without_vat_number"` ClientProfileId string `json:"client_profile_id"` Relationship *Relationship `json:"relationship"` UseDefaultHierarchySettings bool `json:"use_default_hierarchy_settings"` ParentAccountAccess *ParentAccountAccess `json:"parent_account_access"` ChildAccountAccess *ChildAccountAccess `json:"child_account_access"` VatNumberPrefix string `json:"vat_number_prefix"` EntityIdentifierScheme string `json:"entity_identifier_scheme"` EntityIdentifierStandard string `json:"entity_identifier_standard"` CustomField map[string]interface{} `json:"custom_field"` Consents map[string]interface{} `json:"consents"` Object string `json:"object"` }
type DeleteContactContactParams ¶
type DeleteContactContactParams struct {
Id string `json:"id"`
}
type DeleteContactRequestParams ¶
type DeleteContactRequestParams struct {
Contact *DeleteContactContactParams `json:"contact,omitempty"`
}
type DeleteRequestParams ¶
type DeleteRequestParams struct {
DeletePaymentMethod *bool `json:"delete_payment_method,omitempty"`
}
type EntityIdentifier ¶
type HierarchyRequestParams ¶
type HierarchyRequestParams struct {
HierarchyOperationType enum.HierarchyOperationType `json:"hierarchy_operation_type"`
}
type ListRelationshipParams ¶
type ListRelationshipParams struct { ParentId *filter.StringFilter `json:"parent_id,omitempty"` PaymentOwnerId *filter.StringFilter `json:"payment_owner_id,omitempty"` InvoiceOwnerId *filter.StringFilter `json:"invoice_owner_id,omitempty"` }
type ListRequestParams ¶
type ListRequestParams struct { Limit *int32 `json:"limit,omitempty"` Offset string `json:"offset,omitempty"` IncludeDeleted *bool `json:"include_deleted,omitempty"` Id *filter.StringFilter `json:"id,omitempty"` FirstName *filter.StringFilter `json:"first_name,omitempty"` LastName *filter.StringFilter `json:"last_name,omitempty"` Email *filter.StringFilter `json:"email,omitempty"` Company *filter.StringFilter `json:"company,omitempty"` Phone *filter.StringFilter `json:"phone,omitempty"` AutoCollection *filter.EnumFilter `json:"auto_collection,omitempty"` Taxability *filter.EnumFilter `json:"taxability,omitempty"` CreatedAt *filter.TimestampFilter `json:"created_at,omitempty"` UpdatedAt *filter.TimestampFilter `json:"updated_at,omitempty"` Relationship *ListRelationshipParams `json:"relationship,omitempty"` BusinessEntityId *filter.StringFilter `json:"business_entity_id,omitempty"` OfflinePaymentMethod *filter.EnumFilter `json:"offline_payment_method,omitempty"` AutoCloseInvoices *filter.BooleanFilter `json:"auto_close_invoices,omitempty"` Channel *filter.EnumFilter `json:"channel,omitempty"` SortBy *filter.SortFilter `json:"sort_by,omitempty"` }
type MergeRequestParams ¶
type MoveRequestParams ¶
type ParentAccountAccess ¶
type ParentAccountAccess struct { PortalEditChildSubscriptions customerEnum.ParentAccountAccessPortalEditChildSubscriptions `json:"portal_edit_child_subscriptions"` PortalDownloadChildInvoices customerEnum.ParentAccountAccessPortalDownloadChildInvoices `json:"portal_download_child_invoices"` SendSubscriptionEmails bool `json:"send_subscription_emails"` SendInvoiceEmails bool `json:"send_invoice_emails"` SendPaymentEmails bool `json:"send_payment_emails"` Object string `json:"object"` }
type PaymentMethod ¶
type PaymentMethod struct { Type enum.Type `json:"type"` Gateway enum.Gateway `json:"gateway"` GatewayAccountId string `json:"gateway_account_id"` Status customerEnum.PaymentMethodStatus `json:"status"` ReferenceId string `json:"reference_id"` Object string `json:"object"` }
type RecordExcessPaymentRequestParams ¶
type RecordExcessPaymentRequestParams struct { Transaction *RecordExcessPaymentTransactionParams `json:"transaction,omitempty"` Comment string `json:"comment,omitempty"` }
type ReferralUrl ¶
type ReferralUrl struct { ExternalCustomerId string `json:"external_customer_id"` ReferralSharingUrl string `json:"referral_sharing_url"` CreatedAt int64 `json:"created_at"` UpdatedAt int64 `json:"updated_at"` ReferralCampaignId string `json:"referral_campaign_id"` ReferralAccountId string `json:"referral_account_id"` ReferralExternalCampaignId string `json:"referral_external_campaign_id"` ReferralSystem enum.ReferralSystem `json:"referral_system"` Object string `json:"object"` }
type Relationship ¶
type RelationshipsChildAccountAccessParams ¶
type RelationshipsChildAccountAccessParams struct { PortalEditSubscriptions customerEnum.ChildAccountAccessPortalEditSubscriptions `json:"portal_edit_subscriptions,omitempty"` PortalDownloadInvoices customerEnum.ChildAccountAccessPortalDownloadInvoices `json:"portal_download_invoices,omitempty"` SendSubscriptionEmails *bool `json:"send_subscription_emails,omitempty"` SendPaymentEmails *bool `json:"send_payment_emails,omitempty"` SendInvoiceEmails *bool `json:"send_invoice_emails,omitempty"` }
type RelationshipsParentAccountAccessParams ¶
type RelationshipsParentAccountAccessParams struct { PortalEditChildSubscriptions customerEnum.ParentAccountAccessPortalEditChildSubscriptions `json:"portal_edit_child_subscriptions,omitempty"` PortalDownloadChildInvoices customerEnum.ParentAccountAccessPortalDownloadChildInvoices `json:"portal_download_child_invoices,omitempty"` SendSubscriptionEmails *bool `json:"send_subscription_emails,omitempty"` SendPaymentEmails *bool `json:"send_payment_emails,omitempty"` SendInvoiceEmails *bool `json:"send_invoice_emails,omitempty"` }
type RelationshipsRequestParams ¶
type RelationshipsRequestParams struct { ParentId string `json:"parent_id,omitempty"` PaymentOwnerId string `json:"payment_owner_id,omitempty"` InvoiceOwnerId string `json:"invoice_owner_id,omitempty"` UseDefaultHierarchySettings *bool `json:"use_default_hierarchy_settings,omitempty"` ParentAccountAccess *RelationshipsParentAccountAccessParams `json:"parent_account_access,omitempty"` ChildAccountAccess *RelationshipsChildAccountAccessParams `json:"child_account_access,omitempty"` }
type UpdateBillingInfoBillingAddressParams ¶
type UpdateBillingInfoBillingAddressParams struct { FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Email string `json:"email,omitempty"` Company string `json:"company,omitempty"` Phone string `json:"phone,omitempty"` Line1 string `json:"line1,omitempty"` Line2 string `json:"line2,omitempty"` Line3 string `json:"line3,omitempty"` City string `json:"city,omitempty"` StateCode string `json:"state_code,omitempty"` State string `json:"state,omitempty"` Zip string `json:"zip,omitempty"` Country string `json:"country,omitempty"` ValidationStatus enum.ValidationStatus `json:"validation_status,omitempty"` }
type UpdateBillingInfoRequestParams ¶
type UpdateBillingInfoRequestParams struct { BillingAddress *UpdateBillingInfoBillingAddressParams `json:"billing_address,omitempty"` EntityIdentifiers []*UpdateBillingInfoEntityIdentifierParams `json:"entity_identifiers,omitempty"` VatNumber string `json:"vat_number,omitempty"` VatNumberPrefix string `json:"vat_number_prefix,omitempty"` EntityIdentifierScheme string `json:"entity_identifier_scheme,omitempty"` EntityIdentifierStandard string `json:"entity_identifier_standard,omitempty"` RegisteredForGst *bool `json:"registered_for_gst,omitempty"` BusinessCustomerWithoutVatNumber *bool `json:"business_customer_without_vat_number,omitempty"` IsEinvoiceEnabled *bool `json:"is_einvoice_enabled,omitempty"` EinvoicingMethod enum.EinvoicingMethod `json:"einvoicing_method,omitempty"` }
type UpdateContactContactParams ¶
type UpdateContactContactParams struct { Id string `json:"id"` FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Email string `json:"email,omitempty"` Phone string `json:"phone,omitempty"` Label string `json:"label,omitempty"` Enabled *bool `json:"enabled,omitempty"` SendBillingEmail *bool `json:"send_billing_email,omitempty"` SendAccountEmail *bool `json:"send_account_email,omitempty"` }
type UpdateContactRequestParams ¶
type UpdateContactRequestParams struct {
Contact *UpdateContactContactParams `json:"contact,omitempty"`
}
type UpdateHierarchySettingsChildAccountAccessParams ¶
type UpdateHierarchySettingsChildAccountAccessParams struct { PortalEditSubscriptions customerEnum.ChildAccountAccessPortalEditSubscriptions `json:"portal_edit_subscriptions,omitempty"` PortalDownloadInvoices customerEnum.ChildAccountAccessPortalDownloadInvoices `json:"portal_download_invoices,omitempty"` SendSubscriptionEmails *bool `json:"send_subscription_emails,omitempty"` SendPaymentEmails *bool `json:"send_payment_emails,omitempty"` SendInvoiceEmails *bool `json:"send_invoice_emails,omitempty"` }
type UpdateHierarchySettingsParentAccountAccessParams ¶
type UpdateHierarchySettingsParentAccountAccessParams struct { PortalEditChildSubscriptions customerEnum.ParentAccountAccessPortalEditChildSubscriptions `json:"portal_edit_child_subscriptions,omitempty"` PortalDownloadChildInvoices customerEnum.ParentAccountAccessPortalDownloadChildInvoices `json:"portal_download_child_invoices,omitempty"` SendSubscriptionEmails *bool `json:"send_subscription_emails,omitempty"` SendPaymentEmails *bool `json:"send_payment_emails,omitempty"` SendInvoiceEmails *bool `json:"send_invoice_emails,omitempty"` }
type UpdateHierarchySettingsRequestParams ¶
type UpdateHierarchySettingsRequestParams struct { UseDefaultHierarchySettings *bool `json:"use_default_hierarchy_settings,omitempty"` ParentAccountAccess *UpdateHierarchySettingsParentAccountAccessParams `json:"parent_account_access,omitempty"` ChildAccountAccess *UpdateHierarchySettingsChildAccountAccessParams `json:"child_account_access,omitempty"` }
type UpdatePaymentMethodPaymentMethodParams ¶
type UpdatePaymentMethodPaymentMethodParams struct { Type enum.Type `json:"type"` Gateway enum.Gateway `json:"gateway,omitempty"` GatewayAccountId string `json:"gateway_account_id,omitempty"` ReferenceId string `json:"reference_id,omitempty"` TmpToken string `json:"tmp_token,omitempty"` IssuingCountry string `json:"issuing_country,omitempty"` AdditionalInformation map[string]interface{} `json:"additional_information,omitempty"` }
type UpdatePaymentMethodRequestParams ¶
type UpdatePaymentMethodRequestParams struct {
PaymentMethod *UpdatePaymentMethodPaymentMethodParams `json:"payment_method,omitempty"`
}
type UpdateRequestParams ¶
type UpdateRequestParams struct { FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Email string `json:"email,omitempty"` PreferredCurrencyCode string `json:"preferred_currency_code,omitempty"` Phone string `json:"phone,omitempty"` Company string `json:"company,omitempty"` AutoCollection enum.AutoCollection `json:"auto_collection,omitempty"` AllowDirectDebit *bool `json:"allow_direct_debit,omitempty"` NetTermDays *int32 `json:"net_term_days,omitempty"` Taxability enum.Taxability `json:"taxability,omitempty"` ExemptionDetails []map[string]interface{} `json:"exemption_details,omitempty"` CustomerType enum.CustomerType `json:"customer_type,omitempty"` ClientProfileId string `json:"client_profile_id,omitempty"` TaxjarExemptionCategory enum.TaxjarExemptionCategory `json:"taxjar_exemption_category,omitempty"` Locale string `json:"locale,omitempty"` EntityCode enum.EntityCode `json:"entity_code,omitempty"` ExemptNumber string `json:"exempt_number,omitempty"` OfflinePaymentMethod enum.OfflinePaymentMethod `json:"offline_payment_method,omitempty"` InvoiceNotes string `json:"invoice_notes,omitempty"` AutoCloseInvoices *bool `json:"auto_close_invoices,omitempty"` MetaData map[string]interface{} `json:"meta_data,omitempty"` FraudFlag customerEnum.FraudFlag `json:"fraud_flag,omitempty"` ConsolidatedInvoicing *bool `json:"consolidated_invoicing,omitempty"` }
Click to show internal directories.
Click to hide internal directories.