Documentation ¶
Index ¶
- type Billing20201105Address
- func (m *Billing20201105Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105Address) MarshalBinary() ([]byte, error)
- func (m *Billing20201105Address) UnmarshalBinary(b []byte) error
- func (m *Billing20201105Address) Validate(formats strfmt.Registry) error
- type Billing20201105AvailablePackage
- func (m *Billing20201105AvailablePackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105AvailablePackage) MarshalBinary() ([]byte, error)
- func (m *Billing20201105AvailablePackage) UnmarshalBinary(b []byte) error
- func (m *Billing20201105AvailablePackage) Validate(formats strfmt.Registry) error
- type Billing20201105BillingAccount
- func (m *Billing20201105BillingAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105BillingAccount) MarshalBinary() ([]byte, error)
- func (m *Billing20201105BillingAccount) UnmarshalBinary(b []byte) error
- func (m *Billing20201105BillingAccount) Validate(formats strfmt.Registry) error
- type Billing20201105BillingAccountStatus
- type Billing20201105BillingAccountUsage
- func (m *Billing20201105BillingAccountUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105BillingAccountUsage) MarshalBinary() ([]byte, error)
- func (m *Billing20201105BillingAccountUsage) UnmarshalBinary(b []byte) error
- func (m *Billing20201105BillingAccountUsage) Validate(formats strfmt.Registry) error
- type Billing20201105CardDetails
- func (m *Billing20201105CardDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105CardDetails) MarshalBinary() ([]byte, error)
- func (m *Billing20201105CardDetails) UnmarshalBinary(b []byte) error
- func (m *Billing20201105CardDetails) Validate(formats strfmt.Registry) error
- type Billing20201105ConsumptionPool
- func (m *Billing20201105ConsumptionPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ConsumptionPool) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ConsumptionPool) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ConsumptionPool) Validate(formats strfmt.Registry) error
- type Billing20201105ConsumptionPoolStatus
- type Billing20201105ConsumptionPoolUpdateInfo
- func (m *Billing20201105ConsumptionPoolUpdateInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ConsumptionPoolUpdateInfo) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ConsumptionPoolUpdateInfo) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ConsumptionPoolUpdateInfo) Validate(formats strfmt.Registry) error
- type Billing20201105ConsumptionPoolsSummary
- func (m *Billing20201105ConsumptionPoolsSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ConsumptionPoolsSummary) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ConsumptionPoolsSummary) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ConsumptionPoolsSummary) Validate(formats strfmt.Registry) error
- type Billing20201105ContractBillingMethod
- func (m *Billing20201105ContractBillingMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ContractBillingMethod) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ContractBillingMethod) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ContractBillingMethod) Validate(formats strfmt.Registry) error
- type Billing20201105ContractBillingMethodDetails
- func (m *Billing20201105ContractBillingMethodDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ContractBillingMethodDetails) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ContractBillingMethodDetails) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ContractBillingMethodDetails) Validate(formats strfmt.Registry) error
- type Billing20201105Country
- type Billing20201105CreateBillingAccountRequest
- func (m *Billing20201105CreateBillingAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105CreateBillingAccountRequest) MarshalBinary() ([]byte, error)
- func (m *Billing20201105CreateBillingAccountRequest) UnmarshalBinary(b []byte) error
- func (m *Billing20201105CreateBillingAccountRequest) Validate(formats strfmt.Registry) error
- type Billing20201105CreateBillingAccountResponse
- func (m *Billing20201105CreateBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105CreateBillingAccountResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105CreateBillingAccountResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105CreateBillingAccountResponse) Validate(formats strfmt.Registry) error
- type Billing20201105CreateSetupIntentResponse
- func (m *Billing20201105CreateSetupIntentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105CreateSetupIntentResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105CreateSetupIntentResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105CreateSetupIntentResponse) Validate(formats strfmt.Registry) error
- type Billing20201105CustomizedInput
- func (m *Billing20201105CustomizedInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105CustomizedInput) MarshalBinary() ([]byte, error)
- func (m *Billing20201105CustomizedInput) UnmarshalBinary(b []byte) error
- func (m *Billing20201105CustomizedInput) Validate(formats strfmt.Registry) error
- type Billing20201105DeleteBillingAccountResponse
- type Billing20201105Discount
- func (m *Billing20201105Discount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105Discount) MarshalBinary() ([]byte, error)
- func (m *Billing20201105Discount) UnmarshalBinary(b []byte) error
- func (m *Billing20201105Discount) Validate(formats strfmt.Registry) error
- type Billing20201105EstimateCostRequest
- func (m *Billing20201105EstimateCostRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105EstimateCostRequest) MarshalBinary() ([]byte, error)
- func (m *Billing20201105EstimateCostRequest) UnmarshalBinary(b []byte) error
- func (m *Billing20201105EstimateCostRequest) Validate(formats strfmt.Registry) error
- type Billing20201105EstimateCostResponse
- func (m *Billing20201105EstimateCostResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105EstimateCostResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105EstimateCostResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105EstimateCostResponse) Validate(formats strfmt.Registry) error
- type Billing20201105EstimatedPackageItemPrice
- func (m *Billing20201105EstimatedPackageItemPrice) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105EstimatedPackageItemPrice) MarshalBinary() ([]byte, error)
- func (m *Billing20201105EstimatedPackageItemPrice) UnmarshalBinary(b []byte) error
- func (m *Billing20201105EstimatedPackageItemPrice) Validate(formats strfmt.Registry) error
- type Billing20201105FlexibleConsumptionBillingMethodDetails
- type Billing20201105GetBillingAccountResponse
- func (m *Billing20201105GetBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetBillingAccountResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetBillingAccountResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetBillingAccountResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetConsumptionPoolResponse
- func (m *Billing20201105GetConsumptionPoolResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetConsumptionPoolResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetConsumptionPoolResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetConsumptionPoolResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetRunningStatementResponse
- func (m *Billing20201105GetRunningStatementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetRunningStatementResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetRunningStatementResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetRunningStatementResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetStatementResponse
- func (m *Billing20201105GetStatementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetStatementResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetStatementResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetStatementResponse) Validate(formats strfmt.Registry) error
- type Billing20201105GetUsageResponse
- func (m *Billing20201105GetUsageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105GetUsageResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105GetUsageResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105GetUsageResponse) Validate(formats strfmt.Registry) error
- type Billing20201105InvoiceLineItem
- func (m *Billing20201105InvoiceLineItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105InvoiceLineItem) MarshalBinary() ([]byte, error)
- func (m *Billing20201105InvoiceLineItem) UnmarshalBinary(b []byte) error
- func (m *Billing20201105InvoiceLineItem) Validate(formats strfmt.Registry) error
- type Billing20201105ListAvailablePackagesResponse
- func (m *Billing20201105ListAvailablePackagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ListAvailablePackagesResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ListAvailablePackagesResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ListAvailablePackagesResponse) Validate(formats strfmt.Registry) error
- type Billing20201105ListBillingAccountsResponse
- func (m *Billing20201105ListBillingAccountsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ListBillingAccountsResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ListBillingAccountsResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ListBillingAccountsResponse) Validate(formats strfmt.Registry) error
- type Billing20201105ListConsumptionPoolsResponse
- func (m *Billing20201105ListConsumptionPoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ListConsumptionPoolsResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ListConsumptionPoolsResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ListConsumptionPoolsResponse) Validate(formats strfmt.Registry) error
- type Billing20201105ListStatementsResponse
- func (m *Billing20201105ListStatementsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ListStatementsResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ListStatementsResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ListStatementsResponse) Validate(formats strfmt.Registry) error
- type Billing20201105OnDemandBillingMethod
- func (m *Billing20201105OnDemandBillingMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105OnDemandBillingMethod) MarshalBinary() ([]byte, error)
- func (m *Billing20201105OnDemandBillingMethod) UnmarshalBinary(b []byte) error
- func (m *Billing20201105OnDemandBillingMethod) Validate(formats strfmt.Registry) error
- type Billing20201105OnDemandBillingMethodDetails
- func (m *Billing20201105OnDemandBillingMethodDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105OnDemandBillingMethodDetails) MarshalBinary() ([]byte, error)
- func (m *Billing20201105OnDemandBillingMethodDetails) UnmarshalBinary(b []byte) error
- func (m *Billing20201105OnDemandBillingMethodDetails) Validate(formats strfmt.Registry) error
- type Billing20201105PackageItem
- func (m *Billing20201105PackageItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105PackageItem) MarshalBinary() ([]byte, error)
- func (m *Billing20201105PackageItem) UnmarshalBinary(b []byte) error
- func (m *Billing20201105PackageItem) Validate(formats strfmt.Registry) error
- type Billing20201105PackageItemSelection
- func (m *Billing20201105PackageItemSelection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105PackageItemSelection) MarshalBinary() ([]byte, error)
- func (m *Billing20201105PackageItemSelection) UnmarshalBinary(b []byte) error
- func (m *Billing20201105PackageItemSelection) Validate(formats strfmt.Registry) error
- type Billing20201105PackageItemType
- type Billing20201105PackageOption
- func (m *Billing20201105PackageOption) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105PackageOption) MarshalBinary() ([]byte, error)
- func (m *Billing20201105PackageOption) UnmarshalBinary(b []byte) error
- func (m *Billing20201105PackageOption) Validate(formats strfmt.Registry) error
- type Billing20201105RemoveOnDemandPaymentMethodResponse
- func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) Validate(formats strfmt.Registry) error
- type Billing20201105ResourceUsage
- func (m *Billing20201105ResourceUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105ResourceUsage) MarshalBinary() ([]byte, error)
- func (m *Billing20201105ResourceUsage) UnmarshalBinary(b []byte) error
- func (m *Billing20201105ResourceUsage) Validate(formats strfmt.Registry) error
- type Billing20201105Statement
- func (m *Billing20201105Statement) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105Statement) MarshalBinary() ([]byte, error)
- func (m *Billing20201105Statement) UnmarshalBinary(b []byte) error
- func (m *Billing20201105Statement) Validate(formats strfmt.Registry) error
- type Billing20201105StatementFlexibleConsumptionMetadata
- func (m *Billing20201105StatementFlexibleConsumptionMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105StatementFlexibleConsumptionMetadata) MarshalBinary() ([]byte, error)
- func (m *Billing20201105StatementFlexibleConsumptionMetadata) UnmarshalBinary(b []byte) error
- func (m *Billing20201105StatementFlexibleConsumptionMetadata) Validate(formats strfmt.Registry) error
- type Billing20201105StatementOnDemandMetadata
- func (m *Billing20201105StatementOnDemandMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105StatementOnDemandMetadata) MarshalBinary() ([]byte, error)
- func (m *Billing20201105StatementOnDemandMetadata) UnmarshalBinary(b []byte) error
- func (m *Billing20201105StatementOnDemandMetadata) Validate(formats strfmt.Registry) error
- type Billing20201105StatementResource
- func (m *Billing20201105StatementResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105StatementResource) MarshalBinary() ([]byte, error)
- func (m *Billing20201105StatementResource) UnmarshalBinary(b []byte) error
- func (m *Billing20201105StatementResource) Validate(formats strfmt.Registry) error
- type Billing20201105StatementResourceFlexibleConsumptionMetadata
- func (m *Billing20201105StatementResourceFlexibleConsumptionMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105StatementResourceFlexibleConsumptionMetadata) MarshalBinary() ([]byte, error)
- func (m *Billing20201105StatementResourceFlexibleConsumptionMetadata) UnmarshalBinary(b []byte) error
- func (m *Billing20201105StatementResourceFlexibleConsumptionMetadata) Validate(formats strfmt.Registry) error
- type Billing20201105StatementSummary
- func (m *Billing20201105StatementSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105StatementSummary) MarshalBinary() ([]byte, error)
- func (m *Billing20201105StatementSummary) UnmarshalBinary(b []byte) error
- func (m *Billing20201105StatementSummary) Validate(formats strfmt.Registry) error
- type Billing20201105StatementSummaryOnDemandMetadata
- func (m *Billing20201105StatementSummaryOnDemandMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105StatementSummaryOnDemandMetadata) MarshalBinary() ([]byte, error)
- func (m *Billing20201105StatementSummaryOnDemandMetadata) UnmarshalBinary(b []byte) error
- func (m *Billing20201105StatementSummaryOnDemandMetadata) Validate(formats strfmt.Registry) error
- type Billing20201105SupportLevel
- func (m *Billing20201105SupportLevel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105SupportLevel) MarshalBinary() ([]byte, error)
- func (m *Billing20201105SupportLevel) UnmarshalBinary(b []byte) error
- func (m *Billing20201105SupportLevel) Validate(formats strfmt.Registry) error
- type Billing20201105TaxSettings
- func (m *Billing20201105TaxSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105TaxSettings) MarshalBinary() ([]byte, error)
- func (m *Billing20201105TaxSettings) UnmarshalBinary(b []byte) error
- func (m *Billing20201105TaxSettings) Validate(formats strfmt.Registry) error
- type Billing20201105Unit
- type Billing20201105UpdateBillingAccountRequest
- func (m *Billing20201105UpdateBillingAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105UpdateBillingAccountRequest) MarshalBinary() ([]byte, error)
- func (m *Billing20201105UpdateBillingAccountRequest) UnmarshalBinary(b []byte) error
- func (m *Billing20201105UpdateBillingAccountRequest) Validate(formats strfmt.Registry) error
- type Billing20201105UpdateBillingAccountResponse
- func (m *Billing20201105UpdateBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Billing20201105UpdateBillingAccountResponse) MarshalBinary() ([]byte, error)
- func (m *Billing20201105UpdateBillingAccountResponse) UnmarshalBinary(b []byte) error
- func (m *Billing20201105UpdateBillingAccountResponse) Validate(formats strfmt.Registry) error
- type BillingAccountOnDemandStatus
- type CardDetailsBrand
- type Cloudbilling20201105Status
- type CloudlocationLocation
- type CommonPaginationRequest
- func (m *CommonPaginationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CommonPaginationRequest) MarshalBinary() ([]byte, error)
- func (m *CommonPaginationRequest) UnmarshalBinary(b []byte) error
- func (m *CommonPaginationRequest) Validate(formats strfmt.Registry) error
- type CommonPaginationResponse
- func (m *CommonPaginationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CommonPaginationResponse) MarshalBinary() ([]byte, error)
- func (m *CommonPaginationResponse) UnmarshalBinary(b []byte) error
- func (m *CommonPaginationResponse) Validate(formats strfmt.Registry) error
- type ConsumptionPoolUpdateInfoUpdateCause
- type LocationLink
- type LocationRegion
- type PackageOptionDependency
- func (m *PackageOptionDependency) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PackageOptionDependency) MarshalBinary() ([]byte, error)
- func (m *PackageOptionDependency) UnmarshalBinary(b []byte) error
- func (m *PackageOptionDependency) Validate(formats strfmt.Registry) error
- type ProtobufAny
- type RuntimeError
- type StatementResourceLineItem
- func (m *StatementResourceLineItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StatementResourceLineItem) MarshalBinary() ([]byte, error)
- func (m *StatementResourceLineItem) UnmarshalBinary(b []byte) error
- func (m *StatementResourceLineItem) Validate(formats strfmt.Registry) error
- type TaxSettingsExemptionStatus
- type TaxSettingsIDType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Billing20201105Address ¶
type Billing20201105Address struct { // city is a city, district, suburb, town, or village. City string `json:"city,omitempty"` // line1 is the street, PO Box, or company name. Line1 string `json:"line1,omitempty"` // line2 is the apartment, suite, unit, or building. Line2 string `json:"line2,omitempty"` // postal_code is the ZIP or postal code. PostalCode string `json:"postal_code,omitempty"` // state is a state, county, province, or region. State string `json:"state,omitempty"` }
Billing20201105Address Address is a physical postal address.
swagger:model billing_20201105Address
func (*Billing20201105Address) ContextValidate ¶
func (m *Billing20201105Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 address based on context it is used
func (*Billing20201105Address) MarshalBinary ¶
func (m *Billing20201105Address) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105Address) UnmarshalBinary ¶
func (m *Billing20201105Address) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105AvailablePackage ¶
type Billing20201105AvailablePackage struct { // items represents the contents of the package as a collection of PackageItem. Items []*Billing20201105PackageItem `json:"items"` // key is the Package's identifier. Key string `json:"key,omitempty"` // resource_type is the identifier for the resource this package represents an offering for. ResourceType string `json:"resource_type,omitempty"` }
Billing20201105AvailablePackage Package represents a set of product offerings an end user could sign-up for.
swagger:model billing_20201105AvailablePackage
func (*Billing20201105AvailablePackage) ContextValidate ¶
func (m *Billing20201105AvailablePackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 available package based on the context it is used
func (*Billing20201105AvailablePackage) MarshalBinary ¶
func (m *Billing20201105AvailablePackage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105AvailablePackage) UnmarshalBinary ¶
func (m *Billing20201105AvailablePackage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105BillingAccount ¶
type Billing20201105BillingAccount struct { // balance is the account's current credit balance. Credit is added to an // account's balance for example when it is eligible for a free trial. Balance string `json:"balance,omitempty"` // country is the billing account's country that is used both in the billing // address and for selecting regional prices. Country *Billing20201105Country `json:"country,omitempty"` // id is the user-settable ID for this Billing Account. It is unique within // the organization. ID string `json:"id,omitempty"` // name is the Billing Account's user-defined name. Name string `json:"name,omitempty"` // on_demand_status represents the status of the on-demand payment method. OnDemandStatus *BillingAccountOnDemandStatus `json:"on_demand_status,omitempty"` // organization_id is the ID of the organization to which the Billing Account // belongs. OrganizationID string `json:"organization_id,omitempty"` // project_ids is the list of IDs of all projects associated with the Billing // Account. Projects can be linked to *at most* one Billing Account. ProjectIds []string `json:"project_ids"` // status of the billing account (e.g. active, canceled). Status *Billing20201105BillingAccountStatus `json:"status,omitempty"` }
Billing20201105BillingAccount BillingAccount is the user-facing object in HCP that defines how an organization will be billed for the resources used in their projects.
swagger:model billing_20201105BillingAccount
func (*Billing20201105BillingAccount) ContextValidate ¶
func (m *Billing20201105BillingAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 billing account based on the context it is used
func (*Billing20201105BillingAccount) MarshalBinary ¶
func (m *Billing20201105BillingAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105BillingAccount) UnmarshalBinary ¶
func (m *Billing20201105BillingAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105BillingAccountStatus ¶
type Billing20201105BillingAccountStatus string
Billing20201105BillingAccountStatus BillingAccountStatus is the status of the billing account (e.g. active, canceled).
swagger:model billing_20201105BillingAccountStatus
const ( // Billing20201105BillingAccountStatusACTIVE captures enum value "ACTIVE" Billing20201105BillingAccountStatusACTIVE Billing20201105BillingAccountStatus = "ACTIVE" // Billing20201105BillingAccountStatusDELETING captures enum value "DELETING" Billing20201105BillingAccountStatusDELETING Billing20201105BillingAccountStatus = "DELETING" // Billing20201105BillingAccountStatusDELINQUENT captures enum value "DELINQUENT" Billing20201105BillingAccountStatusDELINQUENT Billing20201105BillingAccountStatus = "DELINQUENT" // Billing20201105BillingAccountStatusINCOMPLETE captures enum value "INCOMPLETE" Billing20201105BillingAccountStatusINCOMPLETE Billing20201105BillingAccountStatus = "INCOMPLETE" // Billing20201105BillingAccountStatusTRIAL captures enum value "TRIAL" Billing20201105BillingAccountStatusTRIAL Billing20201105BillingAccountStatus = "TRIAL" )
func NewBilling20201105BillingAccountStatus ¶
func NewBilling20201105BillingAccountStatus(value Billing20201105BillingAccountStatus) *Billing20201105BillingAccountStatus
func (Billing20201105BillingAccountStatus) ContextValidate ¶
func (m Billing20201105BillingAccountStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 billing account status based on context it is used
func (Billing20201105BillingAccountStatus) Pointer ¶
func (m Billing20201105BillingAccountStatus) Pointer() *Billing20201105BillingAccountStatus
Pointer returns a pointer to a freshly-allocated Billing20201105BillingAccountStatus.
type Billing20201105BillingAccountUsage ¶
type Billing20201105BillingAccountUsage struct { // billing_period_end is the end time of the period that was considered for // this usage calculation. // Format: date-time BillingPeriodEnd strfmt.DateTime `json:"billing_period_end,omitempty"` // billing_period_start is the start time of the period that was considered // for this usage calculation. // Format: date-time BillingPeriodStart strfmt.DateTime `json:"billing_period_start,omitempty"` // discount is the amount of credits that would be deducted from the subtotal // if an invoice would be generated. Discount string `json:"discount,omitempty"` // remaining_balance is the account balance remaining after deducting the // calculated usage's subtotal_cost. This should be considered as an estimate // and understood as the potential new account balance if an invoice was // generated at the end of the billing period covered by this usage. RemainingBalance string `json:"remaining_balance,omitempty"` // resource_usages has information about each resource that is part of this calculation. ResourceUsages []*Billing20201105ResourceUsage `json:"resource_usages"` // subtotal_cost is the cost produced within this billing period. It's the sum // of all calculated line items' amounts. SubtotalCost string `json:"subtotal_cost,omitempty"` // total_cost is the cost produced within this billing period minus any // discount that is granted because of a positive account balance. This // should be considered an estimate because not all information required to // issue an invoice might have been taken into consideration (e.g. billing // address country and tax might not be reflected in this value). TotalCost string `json:"total_cost,omitempty"` }
Billing20201105BillingAccountUsage BillingAccountUsage describes the usage that accrued during a specific billing period.
swagger:model billing_20201105BillingAccountUsage
func (*Billing20201105BillingAccountUsage) ContextValidate ¶
func (m *Billing20201105BillingAccountUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 billing account usage based on the context it is used
func (*Billing20201105BillingAccountUsage) MarshalBinary ¶
func (m *Billing20201105BillingAccountUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105BillingAccountUsage) UnmarshalBinary ¶
func (m *Billing20201105BillingAccountUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105CardDetails ¶
type Billing20201105CardDetails struct { // brand of the card. Brand *CardDetailsBrand `json:"brand,omitempty"` // exp_month is the two-digit month part of the card's expiration date. ExpMonth int32 `json:"exp_month,omitempty"` // exp_year is the four-digit year part of the card's expiration date. ExpYear int32 `json:"exp_year,omitempty"` // last4 is the last four digits of the card's PAN (long number). Last4 string `json:"last4,omitempty"` }
Billing20201105CardDetails CardDetails contains credit/debit card details.
swagger:model billing_20201105CardDetails
func (*Billing20201105CardDetails) ContextValidate ¶
func (m *Billing20201105CardDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 card details based on the context it is used
func (*Billing20201105CardDetails) MarshalBinary ¶
func (m *Billing20201105CardDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105CardDetails) UnmarshalBinary ¶
func (m *Billing20201105CardDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ConsumptionPool ¶
type Billing20201105ConsumptionPool struct { // active_from is the timestamp of when the consumption pool became active. // Format: date-time ActiveFrom strfmt.DateTime `json:"active_from,omitempty"` // active_until is the timestamp of when the consumption pool became inactive. // Format: date-time ActiveUntil strfmt.DateTime `json:"active_until,omitempty"` // billing_account_id is the slug ID of the Billing Account this // consumption pool is belongs to. BillingAccountID string `json:"billing_account_id,omitempty"` // created_at is the time when consumption pool has been created. // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // discounts is the list of discounts associated with the consumption pool. Discounts []*Billing20201105Discount `json:"discounts"` // id is the id associated with the consumption pool. ID string `json:"id,omitempty"` // initial_amount is the initial amount on the consumption pool in USD. InitialAmount string `json:"initial_amount,omitempty"` // organization_id is the organization where the billing account belongs to. OrganizationID string `json:"organization_id,omitempty"` // recognized_balance is the official remaining balance of this consumption pool in USD // as of the last recognition event. RecognizedBalance string `json:"recognized_balance,omitempty"` // running_total is a running usage estimate since the last recognition event. // This number will be increased after each new running transaction and // zeroed after a recognition event (if recognition event covered all available running // transactions) RunningTotal string `json:"running_total,omitempty"` // status is the current status of the consumption pool (ex. active, upcoming, rolled over, expired). Status *Billing20201105ConsumptionPoolStatus `json:"status,omitempty"` // support_level is the support level associated with the consumption pool. SupportLevel string `json:"support_level,omitempty"` // support_levels is the list of products and their corresponding support levels for the associated consumption pool SupportLevels []*Billing20201105SupportLevel `json:"support_levels"` // updated_at is the last time the consumption pool has been updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
Billing20201105ConsumptionPool ConsumptionPool represents a FCP Consumption Pool
swagger:model billing_20201105ConsumptionPool
func (*Billing20201105ConsumptionPool) ContextValidate ¶
func (m *Billing20201105ConsumptionPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 consumption pool based on the context it is used
func (*Billing20201105ConsumptionPool) MarshalBinary ¶
func (m *Billing20201105ConsumptionPool) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ConsumptionPool) UnmarshalBinary ¶
func (m *Billing20201105ConsumptionPool) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ConsumptionPoolStatus ¶
type Billing20201105ConsumptionPoolStatus string
Billing20201105ConsumptionPoolStatus Status represents the status of a given consumption pool.
swagger:model billing_20201105ConsumptionPoolStatus
const ( // Billing20201105ConsumptionPoolStatusUNSET captures enum value "UNSET" Billing20201105ConsumptionPoolStatusUNSET Billing20201105ConsumptionPoolStatus = "UNSET" // Billing20201105ConsumptionPoolStatusACTIVE captures enum value "ACTIVE" Billing20201105ConsumptionPoolStatusACTIVE Billing20201105ConsumptionPoolStatus = "ACTIVE" )
func NewBilling20201105ConsumptionPoolStatus ¶
func NewBilling20201105ConsumptionPoolStatus(value Billing20201105ConsumptionPoolStatus) *Billing20201105ConsumptionPoolStatus
func (Billing20201105ConsumptionPoolStatus) ContextValidate ¶
func (m Billing20201105ConsumptionPoolStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 consumption pool status based on context it is used
func (Billing20201105ConsumptionPoolStatus) Pointer ¶
func (m Billing20201105ConsumptionPoolStatus) Pointer() *Billing20201105ConsumptionPoolStatus
Pointer returns a pointer to a freshly-allocated Billing20201105ConsumptionPoolStatus.
type Billing20201105ConsumptionPoolUpdateInfo ¶
type Billing20201105ConsumptionPoolUpdateInfo struct { // new_state is the current state of the consumption pool field after the update. NewState string `json:"new_state,omitempty"` // prev_state is the previous state of the consumption pool field before it was updated. PrevState string `json:"prev_state,omitempty"` // update_cause is the reason for the update to the consumption pool (ex. addon, rollover) UpdateCause *ConsumptionPoolUpdateInfoUpdateCause `json:"update_cause,omitempty"` // update_date is the timestamp of when the consumption pool was updated. // Format: date-time UpdateDate strfmt.DateTime `json:"update_date,omitempty"` // updated_field is the field of the consumption pool that was updated. UpdatedField string `json:"updated_field,omitempty"` // updated_product is the product that was updated if product-specific support or discount levels were updated UpdatedProduct string `json:"updated_product,omitempty"` }
Billing20201105ConsumptionPoolUpdateInfo ConsumptionPoolUpdateInfo represents information about any updates made to the consumption pool
swagger:model billing_20201105ConsumptionPoolUpdateInfo
func (*Billing20201105ConsumptionPoolUpdateInfo) ContextValidate ¶
func (m *Billing20201105ConsumptionPoolUpdateInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 consumption pool update info based on the context it is used
func (*Billing20201105ConsumptionPoolUpdateInfo) MarshalBinary ¶
func (m *Billing20201105ConsumptionPoolUpdateInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ConsumptionPoolUpdateInfo) UnmarshalBinary ¶
func (m *Billing20201105ConsumptionPoolUpdateInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ConsumptionPoolsSummary ¶
type Billing20201105ConsumptionPoolsSummary struct { // active_from is the timestamp of when the earliest of active consumption pools became active. // Format: date-time ActiveFrom strfmt.DateTime `json:"active_from,omitempty"` // active_until is the timestamp of when the the latest of active consumption pools became inactive. // Format: date-time ActiveUntil strfmt.DateTime `json:"active_until,omitempty"` // estimated_remaining_balance is the total estimated remaining balance. // of all the active consumption pools in USD. EstimatedRemainingBalance string `json:"estimated_remaining_balance,omitempty"` // initial_amount is the total initial amount of all active consumption pools in USD. InitialAmount string `json:"initial_amount,omitempty"` // updated_at is the last time the any of active consumption pools has been updated. // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
Billing20201105ConsumptionPoolsSummary ConsumptionPoolsSummary is a summary/overview info of consumption pools of a single billing account
swagger:model billing_20201105ConsumptionPoolsSummary
func (*Billing20201105ConsumptionPoolsSummary) ContextValidate ¶
func (m *Billing20201105ConsumptionPoolsSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 consumption pools summary based on context it is used
func (*Billing20201105ConsumptionPoolsSummary) MarshalBinary ¶
func (m *Billing20201105ConsumptionPoolsSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ConsumptionPoolsSummary) UnmarshalBinary ¶
func (m *Billing20201105ConsumptionPoolsSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ContractBillingMethod ¶
type Billing20201105ContractBillingMethod struct { // reference is the unique reference number, provided to the customer, which // allows them to associate a Billing Account to their sales contract. Reference string `json:"reference,omitempty"` }
Billing20201105ContractBillingMethod ContractBillingMethod contains the information used to associate a Billing Account to a contract negotiated with our sales organization.
swagger:model billing_20201105ContractBillingMethod
func (*Billing20201105ContractBillingMethod) ContextValidate ¶
func (m *Billing20201105ContractBillingMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 contract billing method based on context it is used
func (*Billing20201105ContractBillingMethod) MarshalBinary ¶
func (m *Billing20201105ContractBillingMethod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ContractBillingMethod) UnmarshalBinary ¶
func (m *Billing20201105ContractBillingMethod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ContractBillingMethodDetails ¶
type Billing20201105ContractBillingMethodDetails struct { // billing_method contains the information used to register a Contract-backed // Billing Account. BillingMethod *Billing20201105ContractBillingMethod `json:"billing_method,omitempty"` }
Billing20201105ContractBillingMethodDetails ContractBillingMethodDetails contains both the information used to register a Billing Account billed via Contract, and additional information for display purposes.
swagger:model billing_20201105ContractBillingMethodDetails
func (*Billing20201105ContractBillingMethodDetails) ContextValidate ¶
func (m *Billing20201105ContractBillingMethodDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 contract billing method details based on the context it is used
func (*Billing20201105ContractBillingMethodDetails) MarshalBinary ¶
func (m *Billing20201105ContractBillingMethodDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ContractBillingMethodDetails) UnmarshalBinary ¶
func (m *Billing20201105ContractBillingMethodDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105Country ¶
type Billing20201105Country string
Billing20201105Country Country is a two-letter country code as defined by the ISO 3166-1 standard.
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
swagger:model billing_20201105Country
const ( // Billing20201105CountryUNSET captures enum value "UNSET" Billing20201105CountryUNSET Billing20201105Country = "UNSET" // Billing20201105CountryAF captures enum value "AF" Billing20201105CountryAF Billing20201105Country = "AF" // Billing20201105CountryAL captures enum value "AL" Billing20201105CountryAL Billing20201105Country = "AL" // Billing20201105CountryAQ captures enum value "AQ" Billing20201105CountryAQ Billing20201105Country = "AQ" // Billing20201105CountryDZ captures enum value "DZ" Billing20201105CountryDZ Billing20201105Country = "DZ" // Billing20201105CountryAS captures enum value "AS" Billing20201105CountryAS Billing20201105Country = "AS" // Billing20201105CountryAD captures enum value "AD" Billing20201105CountryAD Billing20201105Country = "AD" // Billing20201105CountryAO captures enum value "AO" Billing20201105CountryAO Billing20201105Country = "AO" // Billing20201105CountryAG captures enum value "AG" Billing20201105CountryAG Billing20201105Country = "AG" // Billing20201105CountryAZ captures enum value "AZ" Billing20201105CountryAZ Billing20201105Country = "AZ" // Billing20201105CountryAR captures enum value "AR" Billing20201105CountryAR Billing20201105Country = "AR" // Billing20201105CountryAU captures enum value "AU" Billing20201105CountryAU Billing20201105Country = "AU" // Billing20201105CountryAT captures enum value "AT" Billing20201105CountryAT Billing20201105Country = "AT" // Billing20201105CountryBS captures enum value "BS" Billing20201105CountryBS Billing20201105Country = "BS" // Billing20201105CountryBH captures enum value "BH" Billing20201105CountryBH Billing20201105Country = "BH" // Billing20201105CountryBD captures enum value "BD" Billing20201105CountryBD Billing20201105Country = "BD" // Billing20201105CountryAM captures enum value "AM" Billing20201105CountryAM Billing20201105Country = "AM" // Billing20201105CountryBB captures enum value "BB" Billing20201105CountryBB Billing20201105Country = "BB" // Billing20201105CountryBE captures enum value "BE" Billing20201105CountryBE Billing20201105Country = "BE" // Billing20201105CountryBM captures enum value "BM" Billing20201105CountryBM Billing20201105Country = "BM" // Billing20201105CountryBT captures enum value "BT" Billing20201105CountryBT Billing20201105Country = "BT" // Billing20201105CountryBO captures enum value "BO" Billing20201105CountryBO Billing20201105Country = "BO" // Billing20201105CountryBA captures enum value "BA" Billing20201105CountryBA Billing20201105Country = "BA" // Billing20201105CountryBW captures enum value "BW" Billing20201105CountryBW Billing20201105Country = "BW" // Billing20201105CountryBV captures enum value "BV" Billing20201105CountryBV Billing20201105Country = "BV" // Billing20201105CountryBR captures enum value "BR" Billing20201105CountryBR Billing20201105Country = "BR" // Billing20201105CountryBZ captures enum value "BZ" Billing20201105CountryBZ Billing20201105Country = "BZ" // Billing20201105CountryIO captures enum value "IO" Billing20201105CountryIO Billing20201105Country = "IO" // Billing20201105CountrySB captures enum value "SB" Billing20201105CountrySB Billing20201105Country = "SB" // Billing20201105CountryVG captures enum value "VG" Billing20201105CountryVG Billing20201105Country = "VG" // Billing20201105CountryBN captures enum value "BN" Billing20201105CountryBN Billing20201105Country = "BN" // Billing20201105CountryBG captures enum value "BG" Billing20201105CountryBG Billing20201105Country = "BG" // Billing20201105CountryMM captures enum value "MM" Billing20201105CountryMM Billing20201105Country = "MM" // Billing20201105CountryBI captures enum value "BI" Billing20201105CountryBI Billing20201105Country = "BI" // Billing20201105CountryBY captures enum value "BY" Billing20201105CountryBY Billing20201105Country = "BY" // Billing20201105CountryKH captures enum value "KH" Billing20201105CountryKH Billing20201105Country = "KH" // Billing20201105CountryCM captures enum value "CM" Billing20201105CountryCM Billing20201105Country = "CM" // Billing20201105CountryCA captures enum value "CA" Billing20201105CountryCA Billing20201105Country = "CA" // Billing20201105CountryCV captures enum value "CV" Billing20201105CountryCV Billing20201105Country = "CV" // Billing20201105CountryKY captures enum value "KY" Billing20201105CountryKY Billing20201105Country = "KY" // Billing20201105CountryCF captures enum value "CF" Billing20201105CountryCF Billing20201105Country = "CF" // Billing20201105CountryLK captures enum value "LK" Billing20201105CountryLK Billing20201105Country = "LK" // Billing20201105CountryTD captures enum value "TD" Billing20201105CountryTD Billing20201105Country = "TD" // Billing20201105CountryCL captures enum value "CL" Billing20201105CountryCL Billing20201105Country = "CL" // Billing20201105CountryCN captures enum value "CN" Billing20201105CountryCN Billing20201105Country = "CN" // Billing20201105CountryTW captures enum value "TW" Billing20201105CountryTW Billing20201105Country = "TW" // Billing20201105CountryCX captures enum value "CX" Billing20201105CountryCX Billing20201105Country = "CX" // Billing20201105CountryCC captures enum value "CC" Billing20201105CountryCC Billing20201105Country = "CC" // Billing20201105CountryCO captures enum value "CO" Billing20201105CountryCO Billing20201105Country = "CO" // Billing20201105CountryKM captures enum value "KM" Billing20201105CountryKM Billing20201105Country = "KM" // Billing20201105CountryYT captures enum value "YT" Billing20201105CountryYT Billing20201105Country = "YT" // Billing20201105CountryCG captures enum value "CG" Billing20201105CountryCG Billing20201105Country = "CG" // Billing20201105CountryCD captures enum value "CD" Billing20201105CountryCD Billing20201105Country = "CD" // Billing20201105CountryCK captures enum value "CK" Billing20201105CountryCK Billing20201105Country = "CK" // Billing20201105CountryCR captures enum value "CR" Billing20201105CountryCR Billing20201105Country = "CR" // Billing20201105CountryHR captures enum value "HR" Billing20201105CountryHR Billing20201105Country = "HR" // Billing20201105CountryCU captures enum value "CU" Billing20201105CountryCU Billing20201105Country = "CU" // Billing20201105CountryCY captures enum value "CY" Billing20201105CountryCY Billing20201105Country = "CY" // Billing20201105CountryCZ captures enum value "CZ" Billing20201105CountryCZ Billing20201105Country = "CZ" // Billing20201105CountryBJ captures enum value "BJ" Billing20201105CountryBJ Billing20201105Country = "BJ" // Billing20201105CountryDK captures enum value "DK" Billing20201105CountryDK Billing20201105Country = "DK" // Billing20201105CountryDM captures enum value "DM" Billing20201105CountryDM Billing20201105Country = "DM" // Billing20201105CountryDO captures enum value "DO" Billing20201105CountryDO Billing20201105Country = "DO" // Billing20201105CountryEC captures enum value "EC" Billing20201105CountryEC Billing20201105Country = "EC" // Billing20201105CountrySV captures enum value "SV" Billing20201105CountrySV Billing20201105Country = "SV" // Billing20201105CountryGQ captures enum value "GQ" Billing20201105CountryGQ Billing20201105Country = "GQ" // Billing20201105CountryET captures enum value "ET" Billing20201105CountryET Billing20201105Country = "ET" // Billing20201105CountryER captures enum value "ER" Billing20201105CountryER Billing20201105Country = "ER" // Billing20201105CountryEE captures enum value "EE" Billing20201105CountryEE Billing20201105Country = "EE" // Billing20201105CountryFO captures enum value "FO" Billing20201105CountryFO Billing20201105Country = "FO" // Billing20201105CountryFK captures enum value "FK" Billing20201105CountryFK Billing20201105Country = "FK" // Billing20201105CountryGS captures enum value "GS" Billing20201105CountryGS Billing20201105Country = "GS" // Billing20201105CountryFJ captures enum value "FJ" Billing20201105CountryFJ Billing20201105Country = "FJ" // Billing20201105CountryFI captures enum value "FI" Billing20201105CountryFI Billing20201105Country = "FI" // Billing20201105CountryAX captures enum value "AX" Billing20201105CountryAX Billing20201105Country = "AX" // Billing20201105CountryFR captures enum value "FR" Billing20201105CountryFR Billing20201105Country = "FR" // Billing20201105CountryGF captures enum value "GF" Billing20201105CountryGF Billing20201105Country = "GF" // Billing20201105CountryPF captures enum value "PF" Billing20201105CountryPF Billing20201105Country = "PF" // Billing20201105CountryTF captures enum value "TF" Billing20201105CountryTF Billing20201105Country = "TF" // Billing20201105CountryDJ captures enum value "DJ" Billing20201105CountryDJ Billing20201105Country = "DJ" // Billing20201105CountryGA captures enum value "GA" Billing20201105CountryGA Billing20201105Country = "GA" // Billing20201105CountryGE captures enum value "GE" Billing20201105CountryGE Billing20201105Country = "GE" // Billing20201105CountryGM captures enum value "GM" Billing20201105CountryGM Billing20201105Country = "GM" // Billing20201105CountryPS captures enum value "PS" Billing20201105CountryPS Billing20201105Country = "PS" // Billing20201105CountryDE captures enum value "DE" Billing20201105CountryDE Billing20201105Country = "DE" // Billing20201105CountryGH captures enum value "GH" Billing20201105CountryGH Billing20201105Country = "GH" // Billing20201105CountryGI captures enum value "GI" Billing20201105CountryGI Billing20201105Country = "GI" // Billing20201105CountryKI captures enum value "KI" Billing20201105CountryKI Billing20201105Country = "KI" // Billing20201105CountryGR captures enum value "GR" Billing20201105CountryGR Billing20201105Country = "GR" // Billing20201105CountryGL captures enum value "GL" Billing20201105CountryGL Billing20201105Country = "GL" // Billing20201105CountryGD captures enum value "GD" Billing20201105CountryGD Billing20201105Country = "GD" // Billing20201105CountryGP captures enum value "GP" Billing20201105CountryGP Billing20201105Country = "GP" // Billing20201105CountryGU captures enum value "GU" Billing20201105CountryGU Billing20201105Country = "GU" // Billing20201105CountryGT captures enum value "GT" Billing20201105CountryGT Billing20201105Country = "GT" // Billing20201105CountryGN captures enum value "GN" Billing20201105CountryGN Billing20201105Country = "GN" // Billing20201105CountryGY captures enum value "GY" Billing20201105CountryGY Billing20201105Country = "GY" // Billing20201105CountryHT captures enum value "HT" Billing20201105CountryHT Billing20201105Country = "HT" // Billing20201105CountryHM captures enum value "HM" Billing20201105CountryHM Billing20201105Country = "HM" // Billing20201105CountryVA captures enum value "VA" Billing20201105CountryVA Billing20201105Country = "VA" // Billing20201105CountryHN captures enum value "HN" Billing20201105CountryHN Billing20201105Country = "HN" // Billing20201105CountryHK captures enum value "HK" Billing20201105CountryHK Billing20201105Country = "HK" // Billing20201105CountryHU captures enum value "HU" Billing20201105CountryHU Billing20201105Country = "HU" // Billing20201105CountryIS captures enum value "IS" Billing20201105CountryIS Billing20201105Country = "IS" // Billing20201105CountryIN captures enum value "IN" Billing20201105CountryIN Billing20201105Country = "IN" // Billing20201105CountryID captures enum value "ID" Billing20201105CountryID Billing20201105Country = "ID" // Billing20201105CountryIR captures enum value "IR" Billing20201105CountryIR Billing20201105Country = "IR" // Billing20201105CountryIQ captures enum value "IQ" Billing20201105CountryIQ Billing20201105Country = "IQ" // Billing20201105CountryIE captures enum value "IE" Billing20201105CountryIE Billing20201105Country = "IE" // Billing20201105CountryIL captures enum value "IL" Billing20201105CountryIL Billing20201105Country = "IL" // Billing20201105CountryIT captures enum value "IT" Billing20201105CountryIT Billing20201105Country = "IT" // Billing20201105CountryCI captures enum value "CI" Billing20201105CountryCI Billing20201105Country = "CI" // Billing20201105CountryJM captures enum value "JM" Billing20201105CountryJM Billing20201105Country = "JM" // Billing20201105CountryJP captures enum value "JP" Billing20201105CountryJP Billing20201105Country = "JP" // Billing20201105CountryKZ captures enum value "KZ" Billing20201105CountryKZ Billing20201105Country = "KZ" // Billing20201105CountryJO captures enum value "JO" Billing20201105CountryJO Billing20201105Country = "JO" // Billing20201105CountryKE captures enum value "KE" Billing20201105CountryKE Billing20201105Country = "KE" // Billing20201105CountryKP captures enum value "KP" Billing20201105CountryKP Billing20201105Country = "KP" // Billing20201105CountryKR captures enum value "KR" Billing20201105CountryKR Billing20201105Country = "KR" // Billing20201105CountryKW captures enum value "KW" Billing20201105CountryKW Billing20201105Country = "KW" // Billing20201105CountryKG captures enum value "KG" Billing20201105CountryKG Billing20201105Country = "KG" // Billing20201105CountryLA captures enum value "LA" Billing20201105CountryLA Billing20201105Country = "LA" // Billing20201105CountryLB captures enum value "LB" Billing20201105CountryLB Billing20201105Country = "LB" // Billing20201105CountryLS captures enum value "LS" Billing20201105CountryLS Billing20201105Country = "LS" // Billing20201105CountryLV captures enum value "LV" Billing20201105CountryLV Billing20201105Country = "LV" // Billing20201105CountryLR captures enum value "LR" Billing20201105CountryLR Billing20201105Country = "LR" // Billing20201105CountryLY captures enum value "LY" Billing20201105CountryLY Billing20201105Country = "LY" // Billing20201105CountryLI captures enum value "LI" Billing20201105CountryLI Billing20201105Country = "LI" // Billing20201105CountryLT captures enum value "LT" Billing20201105CountryLT Billing20201105Country = "LT" // Billing20201105CountryLU captures enum value "LU" Billing20201105CountryLU Billing20201105Country = "LU" // Billing20201105CountryMO captures enum value "MO" Billing20201105CountryMO Billing20201105Country = "MO" // Billing20201105CountryMG captures enum value "MG" Billing20201105CountryMG Billing20201105Country = "MG" // Billing20201105CountryMW captures enum value "MW" Billing20201105CountryMW Billing20201105Country = "MW" // Billing20201105CountryMY captures enum value "MY" Billing20201105CountryMY Billing20201105Country = "MY" // Billing20201105CountryMV captures enum value "MV" Billing20201105CountryMV Billing20201105Country = "MV" // Billing20201105CountryML captures enum value "ML" Billing20201105CountryML Billing20201105Country = "ML" // Billing20201105CountryMT captures enum value "MT" Billing20201105CountryMT Billing20201105Country = "MT" // Billing20201105CountryMQ captures enum value "MQ" Billing20201105CountryMQ Billing20201105Country = "MQ" // Billing20201105CountryMR captures enum value "MR" Billing20201105CountryMR Billing20201105Country = "MR" // Billing20201105CountryMU captures enum value "MU" Billing20201105CountryMU Billing20201105Country = "MU" // Billing20201105CountryMX captures enum value "MX" Billing20201105CountryMX Billing20201105Country = "MX" // Billing20201105CountryMC captures enum value "MC" Billing20201105CountryMC Billing20201105Country = "MC" // Billing20201105CountryMN captures enum value "MN" Billing20201105CountryMN Billing20201105Country = "MN" // Billing20201105CountryMD captures enum value "MD" Billing20201105CountryMD Billing20201105Country = "MD" // Billing20201105CountryME captures enum value "ME" Billing20201105CountryME Billing20201105Country = "ME" // Billing20201105CountryMS captures enum value "MS" Billing20201105CountryMS Billing20201105Country = "MS" // Billing20201105CountryMA captures enum value "MA" Billing20201105CountryMA Billing20201105Country = "MA" // Billing20201105CountryMZ captures enum value "MZ" Billing20201105CountryMZ Billing20201105Country = "MZ" // Billing20201105CountryOM captures enum value "OM" Billing20201105CountryOM Billing20201105Country = "OM" // Billing20201105CountryNA captures enum value "NA" Billing20201105CountryNA Billing20201105Country = "NA" // Billing20201105CountryNR captures enum value "NR" Billing20201105CountryNR Billing20201105Country = "NR" // Billing20201105CountryNP captures enum value "NP" Billing20201105CountryNP Billing20201105Country = "NP" // Billing20201105CountryNL captures enum value "NL" Billing20201105CountryNL Billing20201105Country = "NL" // Billing20201105CountryCW captures enum value "CW" Billing20201105CountryCW Billing20201105Country = "CW" // Billing20201105CountryAW captures enum value "AW" Billing20201105CountryAW Billing20201105Country = "AW" // Billing20201105CountrySX captures enum value "SX" Billing20201105CountrySX Billing20201105Country = "SX" // Billing20201105CountryBQ captures enum value "BQ" Billing20201105CountryBQ Billing20201105Country = "BQ" // Billing20201105CountryNC captures enum value "NC" Billing20201105CountryNC Billing20201105Country = "NC" // Billing20201105CountryVU captures enum value "VU" Billing20201105CountryVU Billing20201105Country = "VU" // Billing20201105CountryNZ captures enum value "NZ" Billing20201105CountryNZ Billing20201105Country = "NZ" // Billing20201105CountryNI captures enum value "NI" Billing20201105CountryNI Billing20201105Country = "NI" // Billing20201105CountryNE captures enum value "NE" Billing20201105CountryNE Billing20201105Country = "NE" // Billing20201105CountryNG captures enum value "NG" Billing20201105CountryNG Billing20201105Country = "NG" // Billing20201105CountryNU captures enum value "NU" Billing20201105CountryNU Billing20201105Country = "NU" // Billing20201105CountryNF captures enum value "NF" Billing20201105CountryNF Billing20201105Country = "NF" // Billing20201105CountryNO captures enum value "NO" Billing20201105CountryNO Billing20201105Country = "NO" // Billing20201105CountryMP captures enum value "MP" Billing20201105CountryMP Billing20201105Country = "MP" // Billing20201105CountryUM captures enum value "UM" Billing20201105CountryUM Billing20201105Country = "UM" // Billing20201105CountryFM captures enum value "FM" Billing20201105CountryFM Billing20201105Country = "FM" // Billing20201105CountryMH captures enum value "MH" Billing20201105CountryMH Billing20201105Country = "MH" // Billing20201105CountryPW captures enum value "PW" Billing20201105CountryPW Billing20201105Country = "PW" // Billing20201105CountryPK captures enum value "PK" Billing20201105CountryPK Billing20201105Country = "PK" // Billing20201105CountryPA captures enum value "PA" Billing20201105CountryPA Billing20201105Country = "PA" // Billing20201105CountryPG captures enum value "PG" Billing20201105CountryPG Billing20201105Country = "PG" // Billing20201105CountryPY captures enum value "PY" Billing20201105CountryPY Billing20201105Country = "PY" // Billing20201105CountryPE captures enum value "PE" Billing20201105CountryPE Billing20201105Country = "PE" // Billing20201105CountryPH captures enum value "PH" Billing20201105CountryPH Billing20201105Country = "PH" // Billing20201105CountryPN captures enum value "PN" Billing20201105CountryPN Billing20201105Country = "PN" // Billing20201105CountryPL captures enum value "PL" Billing20201105CountryPL Billing20201105Country = "PL" // Billing20201105CountryPT captures enum value "PT" Billing20201105CountryPT Billing20201105Country = "PT" // Billing20201105CountryGW captures enum value "GW" Billing20201105CountryGW Billing20201105Country = "GW" // Billing20201105CountryTL captures enum value "TL" Billing20201105CountryTL Billing20201105Country = "TL" // Billing20201105CountryPR captures enum value "PR" Billing20201105CountryPR Billing20201105Country = "PR" // Billing20201105CountryQA captures enum value "QA" Billing20201105CountryQA Billing20201105Country = "QA" // Billing20201105CountryRE captures enum value "RE" Billing20201105CountryRE Billing20201105Country = "RE" // Billing20201105CountryRO captures enum value "RO" Billing20201105CountryRO Billing20201105Country = "RO" // Billing20201105CountryRU captures enum value "RU" Billing20201105CountryRU Billing20201105Country = "RU" // Billing20201105CountryRW captures enum value "RW" Billing20201105CountryRW Billing20201105Country = "RW" // Billing20201105CountryBL captures enum value "BL" Billing20201105CountryBL Billing20201105Country = "BL" // Billing20201105CountrySH captures enum value "SH" Billing20201105CountrySH Billing20201105Country = "SH" // Billing20201105CountryKN captures enum value "KN" Billing20201105CountryKN Billing20201105Country = "KN" // Billing20201105CountryAI captures enum value "AI" Billing20201105CountryAI Billing20201105Country = "AI" // Billing20201105CountryLC captures enum value "LC" Billing20201105CountryLC Billing20201105Country = "LC" // Billing20201105CountryMF captures enum value "MF" Billing20201105CountryMF Billing20201105Country = "MF" // Billing20201105CountryPM captures enum value "PM" Billing20201105CountryPM Billing20201105Country = "PM" // Billing20201105CountryVC captures enum value "VC" Billing20201105CountryVC Billing20201105Country = "VC" // Billing20201105CountrySM captures enum value "SM" Billing20201105CountrySM Billing20201105Country = "SM" // Billing20201105CountryST captures enum value "ST" Billing20201105CountryST Billing20201105Country = "ST" // Billing20201105CountrySA captures enum value "SA" Billing20201105CountrySA Billing20201105Country = "SA" // Billing20201105CountrySN captures enum value "SN" Billing20201105CountrySN Billing20201105Country = "SN" // Billing20201105CountryRS captures enum value "RS" Billing20201105CountryRS Billing20201105Country = "RS" // Billing20201105CountrySC captures enum value "SC" Billing20201105CountrySC Billing20201105Country = "SC" // Billing20201105CountrySL captures enum value "SL" Billing20201105CountrySL Billing20201105Country = "SL" // Billing20201105CountrySG captures enum value "SG" Billing20201105CountrySG Billing20201105Country = "SG" // Billing20201105CountrySK captures enum value "SK" Billing20201105CountrySK Billing20201105Country = "SK" // Billing20201105CountryVN captures enum value "VN" Billing20201105CountryVN Billing20201105Country = "VN" // Billing20201105CountrySI captures enum value "SI" Billing20201105CountrySI Billing20201105Country = "SI" // Billing20201105CountrySO captures enum value "SO" Billing20201105CountrySO Billing20201105Country = "SO" // Billing20201105CountryZA captures enum value "ZA" Billing20201105CountryZA Billing20201105Country = "ZA" // Billing20201105CountryZW captures enum value "ZW" Billing20201105CountryZW Billing20201105Country = "ZW" // Billing20201105CountryES captures enum value "ES" Billing20201105CountryES Billing20201105Country = "ES" // Billing20201105CountrySS captures enum value "SS" Billing20201105CountrySS Billing20201105Country = "SS" // Billing20201105CountrySD captures enum value "SD" Billing20201105CountrySD Billing20201105Country = "SD" // Billing20201105CountryEH captures enum value "EH" Billing20201105CountryEH Billing20201105Country = "EH" // Billing20201105CountrySR captures enum value "SR" Billing20201105CountrySR Billing20201105Country = "SR" // Billing20201105CountrySJ captures enum value "SJ" Billing20201105CountrySJ Billing20201105Country = "SJ" // Billing20201105CountrySZ captures enum value "SZ" Billing20201105CountrySZ Billing20201105Country = "SZ" // Billing20201105CountrySE captures enum value "SE" Billing20201105CountrySE Billing20201105Country = "SE" // Billing20201105CountryCH captures enum value "CH" Billing20201105CountryCH Billing20201105Country = "CH" // Billing20201105CountrySY captures enum value "SY" Billing20201105CountrySY Billing20201105Country = "SY" // Billing20201105CountryTJ captures enum value "TJ" Billing20201105CountryTJ Billing20201105Country = "TJ" // Billing20201105CountryTH captures enum value "TH" Billing20201105CountryTH Billing20201105Country = "TH" // Billing20201105CountryTG captures enum value "TG" Billing20201105CountryTG Billing20201105Country = "TG" // Billing20201105CountryTK captures enum value "TK" Billing20201105CountryTK Billing20201105Country = "TK" // Billing20201105CountryTO captures enum value "TO" Billing20201105CountryTO Billing20201105Country = "TO" // Billing20201105CountryTT captures enum value "TT" Billing20201105CountryTT Billing20201105Country = "TT" // Billing20201105CountryAE captures enum value "AE" Billing20201105CountryAE Billing20201105Country = "AE" // Billing20201105CountryTN captures enum value "TN" Billing20201105CountryTN Billing20201105Country = "TN" // Billing20201105CountryTR captures enum value "TR" Billing20201105CountryTR Billing20201105Country = "TR" // Billing20201105CountryTM captures enum value "TM" Billing20201105CountryTM Billing20201105Country = "TM" // Billing20201105CountryTC captures enum value "TC" Billing20201105CountryTC Billing20201105Country = "TC" // Billing20201105CountryTV captures enum value "TV" Billing20201105CountryTV Billing20201105Country = "TV" // Billing20201105CountryUG captures enum value "UG" Billing20201105CountryUG Billing20201105Country = "UG" // Billing20201105CountryUA captures enum value "UA" Billing20201105CountryUA Billing20201105Country = "UA" // Billing20201105CountryMK captures enum value "MK" Billing20201105CountryMK Billing20201105Country = "MK" // Billing20201105CountryEG captures enum value "EG" Billing20201105CountryEG Billing20201105Country = "EG" // Billing20201105CountryGB captures enum value "GB" Billing20201105CountryGB Billing20201105Country = "GB" // Billing20201105CountryGG captures enum value "GG" Billing20201105CountryGG Billing20201105Country = "GG" // Billing20201105CountryJE captures enum value "JE" Billing20201105CountryJE Billing20201105Country = "JE" // Billing20201105CountryIM captures enum value "IM" Billing20201105CountryIM Billing20201105Country = "IM" // Billing20201105CountryTZ captures enum value "TZ" Billing20201105CountryTZ Billing20201105Country = "TZ" // Billing20201105CountryUS captures enum value "US" Billing20201105CountryUS Billing20201105Country = "US" // Billing20201105CountryVI captures enum value "VI" Billing20201105CountryVI Billing20201105Country = "VI" // Billing20201105CountryBF captures enum value "BF" Billing20201105CountryBF Billing20201105Country = "BF" // Billing20201105CountryUY captures enum value "UY" Billing20201105CountryUY Billing20201105Country = "UY" // Billing20201105CountryUZ captures enum value "UZ" Billing20201105CountryUZ Billing20201105Country = "UZ" // Billing20201105CountryVE captures enum value "VE" Billing20201105CountryVE Billing20201105Country = "VE" // Billing20201105CountryWF captures enum value "WF" Billing20201105CountryWF Billing20201105Country = "WF" // Billing20201105CountryWS captures enum value "WS" Billing20201105CountryWS Billing20201105Country = "WS" // Billing20201105CountryYE captures enum value "YE" Billing20201105CountryYE Billing20201105Country = "YE" // Billing20201105CountryZM captures enum value "ZM" Billing20201105CountryZM Billing20201105Country = "ZM" )
func NewBilling20201105Country ¶
func NewBilling20201105Country(value Billing20201105Country) *Billing20201105Country
func (Billing20201105Country) ContextValidate ¶
ContextValidate validates this billing 20201105 country based on context it is used
func (Billing20201105Country) Pointer ¶
func (m Billing20201105Country) Pointer() *Billing20201105Country
Pointer returns a pointer to a freshly-allocated Billing20201105Country.
type Billing20201105CreateBillingAccountRequest ¶
type Billing20201105CreateBillingAccountRequest struct { // country is the billing account's country which is used for selecting // country-specific prices and for invoicing. Country *Billing20201105Country `json:"country,omitempty"` // id is the user-settable ID for this Billing Account. It must be unique // within the organization. ID string `json:"id,omitempty"` // name is the Billing Account's user-defined name. Name string `json:"name,omitempty"` // on_demand_billing_method configures the on-demand billing method for the // billing account. This billing method is expected to be charged with // on-demand cost that isn't covered by a contract or through a positive // account balance. OnDemandBillingMethod *Billing20201105OnDemandBillingMethod `json:"on_demand_billing_method,omitempty"` // organization_id is the ID of the organization to which the Billing Account // belongs. OrganizationID string `json:"organization_id,omitempty"` // project_ids is the list of IDs of all projects associated with the Billing // Account. Projects can be linked to *at most* one Billing Account. ProjectIds []string `json:"project_ids"` }
Billing20201105CreateBillingAccountRequest CreateBillingAccountRequest is the request to add a new Billing Account for an organization.
swagger:model billing_20201105CreateBillingAccountRequest
func (*Billing20201105CreateBillingAccountRequest) ContextValidate ¶
func (m *Billing20201105CreateBillingAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 create billing account request based on the context it is used
func (*Billing20201105CreateBillingAccountRequest) MarshalBinary ¶
func (m *Billing20201105CreateBillingAccountRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105CreateBillingAccountRequest) UnmarshalBinary ¶
func (m *Billing20201105CreateBillingAccountRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105CreateBillingAccountResponse ¶
type Billing20201105CreateBillingAccountResponse struct { // billing_account is the Billing Account that was created. BillingAccount *Billing20201105BillingAccount `json:"billing_account,omitempty"` // contract_billing_method_details contains details about the contract that // can be attached to a billing account to cover charges of it. ContractBillingMethodDetails *Billing20201105ContractBillingMethodDetails `json:"contract_billing_method_details,omitempty"` // flexible_consumption_billing_method_details contains details of the billing // account's flexible consumption billing method. // Only present when the billing account is activated for Flexible Consumption. FlexibleConsumptionBillingMethodDetails Billing20201105FlexibleConsumptionBillingMethodDetails `json:"flexible_consumption_billing_method_details,omitempty"` // on_demand_billing_method_details contains details about the on-demand // billing method of the billing account. OnDemandBillingMethodDetails *Billing20201105OnDemandBillingMethodDetails `json:"on_demand_billing_method_details,omitempty"` }
Billing20201105CreateBillingAccountResponse CreateBillingAccountResponse is the response from creating a new Billing Account for an organization.
swagger:model billing_20201105CreateBillingAccountResponse
func (*Billing20201105CreateBillingAccountResponse) ContextValidate ¶
func (m *Billing20201105CreateBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 create billing account response based on the context it is used
func (*Billing20201105CreateBillingAccountResponse) MarshalBinary ¶
func (m *Billing20201105CreateBillingAccountResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105CreateBillingAccountResponse) UnmarshalBinary ¶
func (m *Billing20201105CreateBillingAccountResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105CreateSetupIntentResponse ¶
type Billing20201105CreateSetupIntentResponse struct { // client_secret is to be used with Stripe.js (e.g. given as an argument to // confirmCardSetup) to tokenize the payment details and perform any required // checks. ClientSecret string `json:"client_secret,omitempty"` }
Billing20201105CreateSetupIntentResponse CreateSetupIntentResponse is the response from creating a Setup Intent to collect payment details.
swagger:model billing_20201105CreateSetupIntentResponse
func (*Billing20201105CreateSetupIntentResponse) ContextValidate ¶
func (m *Billing20201105CreateSetupIntentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 create setup intent response based on context it is used
func (*Billing20201105CreateSetupIntentResponse) MarshalBinary ¶
func (m *Billing20201105CreateSetupIntentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105CreateSetupIntentResponse) UnmarshalBinary ¶
func (m *Billing20201105CreateSetupIntentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105CustomizedInput ¶
type Billing20201105CustomizedInput struct { // item_key is the item key that had the product key in the package. ItemKey string `json:"item_key,omitempty"` // quantity describes the value that corresponds to each item_key key. It is the estimated hourly usage. Quantity int32 `json:"quantity,omitempty"` }
Billing20201105CustomizedInput CustomizedInput allows the quantity of dependent products (i.e. number of Vault Clients for a Vault Cluster) to be specified for the cost estimation.
swagger:model billing_20201105CustomizedInput
func (*Billing20201105CustomizedInput) ContextValidate ¶
func (m *Billing20201105CustomizedInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 customized input based on context it is used
func (*Billing20201105CustomizedInput) MarshalBinary ¶
func (m *Billing20201105CustomizedInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105CustomizedInput) UnmarshalBinary ¶
func (m *Billing20201105CustomizedInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105DeleteBillingAccountResponse ¶
type Billing20201105DeleteBillingAccountResponse interface{}
Billing20201105DeleteBillingAccountResponse DeleteBillingAccountResponse is the successful response to a DeleteBillingAccountRequest.
swagger:model billing_20201105DeleteBillingAccountResponse
type Billing20201105Discount ¶
type Billing20201105Discount struct { // percentage is the discount percentage. Percentage string `json:"percentage,omitempty"` // product_type is the product type this discount is for. ProductType string `json:"product_type,omitempty"` }
Billing20201105Discount Discount represents a consumption pool discount
swagger:model billing_20201105Discount
func (*Billing20201105Discount) ContextValidate ¶
func (m *Billing20201105Discount) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 discount based on context it is used
func (*Billing20201105Discount) MarshalBinary ¶
func (m *Billing20201105Discount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105Discount) UnmarshalBinary ¶
func (m *Billing20201105Discount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105EstimateCostRequest ¶
type Billing20201105EstimateCostRequest struct { // customized_input allows the quantity of dependent products (i.e. number of Vault Clients for a Vault Cluster) to be specified for the cost estimation. CustomizedInput []*Billing20201105CustomizedInput `json:"customized_input"` // organization_id is the organization ID used to scope the request for the package. OrganizationID string `json:"organization_id,omitempty"` // package_item_selection is the item/option selections that cost will be estimated for. PackageItemSelection []*Billing20201105PackageItemSelection `json:"package_item_selection"` // package_key is the key of the package being retrieved. PackageKey string `json:"package_key,omitempty"` // project_id the project ID used to scope the request for the package. ProjectID string `json:"project_id,omitempty"` // region is the cloud provider & region to scope the request. Region *LocationRegion `json:"region,omitempty"` }
Billing20201105EstimateCostRequest EstimateCostRequest returns hourly and monthly pricing information for a given package for the given resource type.
swagger:model billing_20201105EstimateCostRequest
func (*Billing20201105EstimateCostRequest) ContextValidate ¶
func (m *Billing20201105EstimateCostRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 estimate cost request based on the context it is used
func (*Billing20201105EstimateCostRequest) MarshalBinary ¶
func (m *Billing20201105EstimateCostRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105EstimateCostRequest) UnmarshalBinary ¶
func (m *Billing20201105EstimateCostRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105EstimateCostResponse ¶
type Billing20201105EstimateCostResponse struct { // item_price contains the individual hourly and monthly prices as well the itemKey for each product. ItemPrice []*Billing20201105EstimatedPackageItemPrice `json:"item_price"` // total_hourly_price is the hourly price of the cluster. TotalHourlyPrice string `json:"total_hourly_price,omitempty"` // total_monthly_price is the monthly price of the cluster. TotalMonthlyPrice string `json:"total_monthly_price,omitempty"` }
Billing20201105EstimateCostResponse EstimateCostResponse is the response to EstimateCostRequest & contains the hourly and monthly costs.
swagger:model billing_20201105EstimateCostResponse
func (*Billing20201105EstimateCostResponse) ContextValidate ¶
func (m *Billing20201105EstimateCostResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 estimate cost response based on the context it is used
func (*Billing20201105EstimateCostResponse) MarshalBinary ¶
func (m *Billing20201105EstimateCostResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105EstimateCostResponse) UnmarshalBinary ¶
func (m *Billing20201105EstimateCostResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105EstimatedPackageItemPrice ¶
type Billing20201105EstimatedPackageItemPrice struct { // hourly_price is the hourly cost for each individual product. HourlyPrice string `json:"hourly_price,omitempty"` // item_key is the item key of the estimated cost. ItemKey string `json:"item_key,omitempty"` // monthly_price is the monthly cost for each individual product. MonthlyPrice string `json:"monthly_price,omitempty"` }
Billing20201105EstimatedPackageItemPrice IndividualPrice contains the individual hourly and monthly prices as well the itemKey for each product.
swagger:model billing_20201105EstimatedPackageItemPrice
func (*Billing20201105EstimatedPackageItemPrice) ContextValidate ¶
func (m *Billing20201105EstimatedPackageItemPrice) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 estimated package item price based on context it is used
func (*Billing20201105EstimatedPackageItemPrice) MarshalBinary ¶
func (m *Billing20201105EstimatedPackageItemPrice) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105EstimatedPackageItemPrice) UnmarshalBinary ¶
func (m *Billing20201105EstimatedPackageItemPrice) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105FlexibleConsumptionBillingMethodDetails ¶
type Billing20201105FlexibleConsumptionBillingMethodDetails interface{}
Billing20201105FlexibleConsumptionBillingMethodDetails FlexibleConsumptionBillingMethodDetails contains details of the billing account's flexible consumption billing method. Only present when the billing account is activated for Flexible Consumption.
swagger:model billing_20201105FlexibleConsumptionBillingMethodDetails
type Billing20201105GetBillingAccountResponse ¶
type Billing20201105GetBillingAccountResponse struct { // billing_account is the Billing Account. BillingAccount *Billing20201105BillingAccount `json:"billing_account,omitempty"` // contract_billing_method_details contains details about the contract that // can be attached to a billing account to cover charges of it. ContractBillingMethodDetails *Billing20201105ContractBillingMethodDetails `json:"contract_billing_method_details,omitempty"` // flexible_consumption_billing_method_details contains details of the billing // account's flexible consumption billing method. // Only present when the billing account is activated for Flexible Consumption. FlexibleConsumptionBillingMethodDetails Billing20201105FlexibleConsumptionBillingMethodDetails `json:"flexible_consumption_billing_method_details,omitempty"` // on_demand_billing_method_details contains details about the on-demand // billing method of the billing account. OnDemandBillingMethodDetails *Billing20201105OnDemandBillingMethodDetails `json:"on_demand_billing_method_details,omitempty"` }
Billing20201105GetBillingAccountResponse GetBillingAccountResponse is the response of retrieving a BillingAccount by ID.
swagger:model billing_20201105GetBillingAccountResponse
func (*Billing20201105GetBillingAccountResponse) ContextValidate ¶
func (m *Billing20201105GetBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get billing account response based on the context it is used
func (*Billing20201105GetBillingAccountResponse) MarshalBinary ¶
func (m *Billing20201105GetBillingAccountResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetBillingAccountResponse) UnmarshalBinary ¶
func (m *Billing20201105GetBillingAccountResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetConsumptionPoolResponse ¶
type Billing20201105GetConsumptionPoolResponse struct { // consumption_pool is the consumption pool with the corresponding id ConsumptionPool *Billing20201105ConsumptionPool `json:"consumption_pool,omitempty"` // consumption_pool_updates is the information about any updates that have been made to the consumption pool ConsumptionPoolUpdates []*Billing20201105ConsumptionPoolUpdateInfo `json:"consumption_pool_updates"` }
Billing20201105GetConsumptionPoolResponse GetConsumptionPoolResponse is a response for GetConsumptionPoolById endpoint
swagger:model billing_20201105GetConsumptionPoolResponse
func (*Billing20201105GetConsumptionPoolResponse) ContextValidate ¶
func (m *Billing20201105GetConsumptionPoolResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get consumption pool response based on the context it is used
func (*Billing20201105GetConsumptionPoolResponse) MarshalBinary ¶
func (m *Billing20201105GetConsumptionPoolResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetConsumptionPoolResponse) UnmarshalBinary ¶
func (m *Billing20201105GetConsumptionPoolResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetRunningStatementResponse ¶
type Billing20201105GetRunningStatementResponse struct { // running_statement is the current billing period's statement. RunningStatement *Billing20201105Statement `json:"running_statement,omitempty"` }
Billing20201105GetRunningStatementResponse GetRunningUsageResponse is the response message returned by the GetRunningStatement RPC.
swagger:model billing_20201105GetRunningStatementResponse
func (*Billing20201105GetRunningStatementResponse) ContextValidate ¶
func (m *Billing20201105GetRunningStatementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get running statement response based on the context it is used
func (*Billing20201105GetRunningStatementResponse) MarshalBinary ¶
func (m *Billing20201105GetRunningStatementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetRunningStatementResponse) UnmarshalBinary ¶
func (m *Billing20201105GetRunningStatementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetStatementResponse ¶
type Billing20201105GetStatementResponse struct { // statement is the statement with the specified id. Statement *Billing20201105Statement `json:"statement,omitempty"` }
Billing20201105GetStatementResponse GetStatementResponse is a response for GetStatement endpoint
swagger:model billing_20201105GetStatementResponse
func (*Billing20201105GetStatementResponse) ContextValidate ¶
func (m *Billing20201105GetStatementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get statement response based on the context it is used
func (*Billing20201105GetStatementResponse) MarshalBinary ¶
func (m *Billing20201105GetStatementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetStatementResponse) UnmarshalBinary ¶
func (m *Billing20201105GetStatementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105GetUsageResponse ¶
type Billing20201105GetUsageResponse struct { // usage is the current billing period's usage as calculated by the last // invocation of CalculateUsage. Usage *Billing20201105BillingAccountUsage `json:"usage,omitempty"` }
Billing20201105GetUsageResponse GetUsageResponse is the response message returned by the GetUsage RPC.
swagger:model billing_20201105GetUsageResponse
func (*Billing20201105GetUsageResponse) ContextValidate ¶
func (m *Billing20201105GetUsageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 get usage response based on the context it is used
func (*Billing20201105GetUsageResponse) MarshalBinary ¶
func (m *Billing20201105GetUsageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105GetUsageResponse) UnmarshalBinary ¶
func (m *Billing20201105GetUsageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105InvoiceLineItem ¶
type Billing20201105InvoiceLineItem struct { // amount is cost of this line item in USD. Amount string `json:"amount,omitempty"` // last_usage_recorded_at contains the timestamp of the last "usage_until" from // inner line items that are contained in the aggregation. // This can also be used to group items that belongs to the same configuration, // given that they all get their recording at the same point in time. // Format: date-time LastUsageRecordedAt strfmt.DateTime `json:"last_usage_recorded_at,omitempty"` // product_key is the unique identifier of the associated product. ProductKey string `json:"product_key,omitempty"` // product_name is the name of the product associated with this line item. ProductName string `json:"product_name,omitempty"` // quantity is how many units of this product this item contains. Quantity string `json:"quantity,omitempty"` // standalone_item when set to true will indicate that this item should not be grouped // with others by its last_usage_recorded_at. // It usually will be set to true for items that are visually independent of any // package or selected configuration. StandaloneItem bool `json:"standalone_item,omitempty"` // unit is the unit on which the product price is calculated. Unit *Billing20201105Unit `json:"unit,omitempty"` // unit_display_key is the human representation label of the unit that was used in this product. UnitDisplayKey string `json:"unit_display_key,omitempty"` // unit_price is the price per unit of the product associated. UnitPrice string `json:"unit_price,omitempty"` }
Billing20201105InvoiceLineItem InvoiceLineItem represents a line item on an invoice.
swagger:model billing_20201105InvoiceLineItem
func (*Billing20201105InvoiceLineItem) ContextValidate ¶
func (m *Billing20201105InvoiceLineItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 invoice line item based on the context it is used
func (*Billing20201105InvoiceLineItem) MarshalBinary ¶
func (m *Billing20201105InvoiceLineItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105InvoiceLineItem) UnmarshalBinary ¶
func (m *Billing20201105InvoiceLineItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ListAvailablePackagesResponse ¶
type Billing20201105ListAvailablePackagesResponse struct { // packages is the list of available Packages in response to the ListAvailablePackagesRequest. Packages []*Billing20201105AvailablePackage `json:"packages"` }
Billing20201105ListAvailablePackagesResponse ListAvailablePackagesResponse is the response to ListAvailablePackages & contains a list of available packages.
swagger:model billing_20201105ListAvailablePackagesResponse
func (*Billing20201105ListAvailablePackagesResponse) ContextValidate ¶
func (m *Billing20201105ListAvailablePackagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 list available packages response based on the context it is used
func (*Billing20201105ListAvailablePackagesResponse) MarshalBinary ¶
func (m *Billing20201105ListAvailablePackagesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ListAvailablePackagesResponse) UnmarshalBinary ¶
func (m *Billing20201105ListAvailablePackagesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ListBillingAccountsResponse ¶
type Billing20201105ListBillingAccountsResponse struct { // billing_accounts is the organization's Billing Accounts. BillingAccounts []*Billing20201105BillingAccount `json:"billing_accounts"` // Pagination contains the pagination tokens for a subsequent request. Pagination *CommonPaginationResponse `json:"pagination,omitempty"` }
Billing20201105ListBillingAccountsResponse ListBillingAccountsResponse is the response from listing an organization's Billing Accounts.
swagger:model billing_20201105ListBillingAccountsResponse
func (*Billing20201105ListBillingAccountsResponse) ContextValidate ¶
func (m *Billing20201105ListBillingAccountsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 list billing accounts response based on the context it is used
func (*Billing20201105ListBillingAccountsResponse) MarshalBinary ¶
func (m *Billing20201105ListBillingAccountsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ListBillingAccountsResponse) UnmarshalBinary ¶
func (m *Billing20201105ListBillingAccountsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ListConsumptionPoolsResponse ¶
type Billing20201105ListConsumptionPoolsResponse struct { // consumption_pools is the list of fetched consumption pools. ConsumptionPools []*Billing20201105ConsumptionPool `json:"consumption_pools"` // summary is the aggregated summary for all active consumption pools. Summary *Billing20201105ConsumptionPoolsSummary `json:"summary,omitempty"` }
Billing20201105ListConsumptionPoolsResponse ListConsumptionPoolsResponse is a response for ListConsumptionPools endpoint
swagger:model billing_20201105ListConsumptionPoolsResponse
func (*Billing20201105ListConsumptionPoolsResponse) ContextValidate ¶
func (m *Billing20201105ListConsumptionPoolsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 list consumption pools response based on the context it is used
func (*Billing20201105ListConsumptionPoolsResponse) MarshalBinary ¶
func (m *Billing20201105ListConsumptionPoolsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ListConsumptionPoolsResponse) UnmarshalBinary ¶
func (m *Billing20201105ListConsumptionPoolsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ListStatementsResponse ¶
type Billing20201105ListStatementsResponse struct { // statement_summaries is the array of statements for an org and Billing Account. StatementSummaries []*Billing20201105StatementSummary `json:"statement_summaries"` }
Billing20201105ListStatementsResponse ListStatementsResponse is the response message returned by the ListStatements RPC.
swagger:model billing_20201105ListStatementsResponse
func (*Billing20201105ListStatementsResponse) ContextValidate ¶
func (m *Billing20201105ListStatementsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 list statements response based on the context it is used
func (*Billing20201105ListStatementsResponse) MarshalBinary ¶
func (m *Billing20201105ListStatementsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ListStatementsResponse) UnmarshalBinary ¶
func (m *Billing20201105ListStatementsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105OnDemandBillingMethod ¶
type Billing20201105OnDemandBillingMethod struct { // billing_address is the address that will show on invoices. BillingAddress *Billing20201105Address `json:"billing_address,omitempty"` // email is the email address to which invoices will be sent. Email string `json:"email,omitempty"` // name is the customer's full name or business name that will appear on // invoices. Name string `json:"name,omitempty"` // stripe_setup_intent_id is the ID of the Stripe Setup Intent used to collect // and tokenize payment details. // // https://stripe.com/docs/payments/setup-intents // // Call the CreateSetupIntent endpoint first to obtain a client secret for // use with Stripe.js (e.g. given as an argument to confirmCardSetup) and // then provide the resulting Setup Intent's ID in this call. // // Note: this field should not be set if you're not updating the payment // method. StripeSetupIntentID string `json:"stripe_setup_intent_id,omitempty"` // tax_settings determine how tax will be calculated. TaxSettings *Billing20201105TaxSettings `json:"tax_settings,omitempty"` }
Billing20201105OnDemandBillingMethod OnDemandBillingMethod contains the information used to register a Billing Account for periodic invoices and charges through our payments processor.
swagger:model billing_20201105OnDemandBillingMethod
func (*Billing20201105OnDemandBillingMethod) ContextValidate ¶
func (m *Billing20201105OnDemandBillingMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 on demand billing method based on the context it is used
func (*Billing20201105OnDemandBillingMethod) MarshalBinary ¶
func (m *Billing20201105OnDemandBillingMethod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105OnDemandBillingMethod) UnmarshalBinary ¶
func (m *Billing20201105OnDemandBillingMethod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105OnDemandBillingMethodDetails ¶
type Billing20201105OnDemandBillingMethodDetails struct { // billing_method contains the information used to register an on-demand // Billing Account. BillingMethod *Billing20201105OnDemandBillingMethod `json:"billing_method,omitempty"` // card_details contains additional information about the credit/debit card // for display purposes. CardDetails *Billing20201105CardDetails `json:"card_details,omitempty"` }
Billing20201105OnDemandBillingMethodDetails OnDemandBillingMethodDetails contains both the information used to register a Billing Account billed on-demand, and additional information for display purposes (e.g. credit card details).
swagger:model billing_20201105OnDemandBillingMethodDetails
func (*Billing20201105OnDemandBillingMethodDetails) ContextValidate ¶
func (m *Billing20201105OnDemandBillingMethodDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 on demand billing method details based on the context it is used
func (*Billing20201105OnDemandBillingMethodDetails) MarshalBinary ¶
func (m *Billing20201105OnDemandBillingMethodDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105OnDemandBillingMethodDetails) UnmarshalBinary ¶
func (m *Billing20201105OnDemandBillingMethodDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105PackageItem ¶
type Billing20201105PackageItem struct { // key is the identifier for this particular item. Key string `json:"key,omitempty"` // optional represents if a selection Optional bool `json:"optional,omitempty"` // options represents a list of options a user can select when signing up for this package. Options []*Billing20201105PackageOption `json:"options"` // type defines what kind of type this item is. Type *Billing20201105PackageItemType `json:"type,omitempty"` }
Billing20201105PackageItem PackageItem defines a specific billable component of a Package.
swagger:model billing_20201105PackageItem
func (*Billing20201105PackageItem) ContextValidate ¶
func (m *Billing20201105PackageItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 package item based on the context it is used
func (*Billing20201105PackageItem) MarshalBinary ¶
func (m *Billing20201105PackageItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105PackageItem) UnmarshalBinary ¶
func (m *Billing20201105PackageItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105PackageItemSelection ¶
type Billing20201105PackageItemSelection struct { // item_key is the key of the Package Item this selection represents. ItemKey string `json:"item_key,omitempty"` // option_key is the key of the Package Item Option for this selection. OptionKey string `json:"option_key,omitempty"` // quantity is optionally the given amount of a PackageItem required. Quantity int32 `json:"quantity,omitempty"` }
Billing20201105PackageItemSelection PackageItemSelection contains the selection information of a given Package Item Option for a Package Item. Optionally, it contains a quantity.
swagger:model billing_20201105PackageItemSelection
func (*Billing20201105PackageItemSelection) ContextValidate ¶
func (m *Billing20201105PackageItemSelection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 package item selection based on context it is used
func (*Billing20201105PackageItemSelection) MarshalBinary ¶
func (m *Billing20201105PackageItemSelection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105PackageItemSelection) UnmarshalBinary ¶
func (m *Billing20201105PackageItemSelection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105PackageItemType ¶
type Billing20201105PackageItemType string
Billing20201105PackageItemType Type is a list of all possible types a PackageItem can have.
- UNSET: UNSET is not a valid type and will not be accepted by the service.
- SELECTION: SELECTION means that the value for this item must be supplied by the caller
when registering a new resource (unless it's an optional item).
- COST: COST means that the value of this item will always be implicitly set by the billing
service, depending on the available options of the package item. Items of this type are never selected by the user, but are a consequence of the `SELECTION` items they chose. The internal process to select a COST item follows these steps: (This applies only for Type COST)
- If the item options have `dependencies` 1.a. It will assign the option key for the item with the option that matches the dependencies. There should never be more than one option with the same dependencies. 1.b. If there's no matching dependency, but the item also has an option without dependency, that option will be assigned to it.
- When there's no dependency at all, the existing option for the item will be assigned for it. There should never be more than 1 option per item without dependency.
swagger:model billing_20201105PackageItemType
const ( // Billing20201105PackageItemTypeUNSET captures enum value "UNSET" Billing20201105PackageItemTypeUNSET Billing20201105PackageItemType = "UNSET" // Billing20201105PackageItemTypeSELECTION captures enum value "SELECTION" Billing20201105PackageItemTypeSELECTION Billing20201105PackageItemType = "SELECTION" // Billing20201105PackageItemTypeCOST captures enum value "COST" Billing20201105PackageItemTypeCOST Billing20201105PackageItemType = "COST" )
func NewBilling20201105PackageItemType ¶
func NewBilling20201105PackageItemType(value Billing20201105PackageItemType) *Billing20201105PackageItemType
func (Billing20201105PackageItemType) ContextValidate ¶
func (m Billing20201105PackageItemType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 package item type based on context it is used
func (Billing20201105PackageItemType) Pointer ¶
func (m Billing20201105PackageItemType) Pointer() *Billing20201105PackageItemType
Pointer returns a pointer to a freshly-allocated Billing20201105PackageItemType.
type Billing20201105PackageOption ¶
type Billing20201105PackageOption struct { // dependencies defines a dependency between this PackageOption and another // Option a different item. // // Dependencies are optional, and when they are not set it means that the // option could be used with any other combination of items/options. // // When they are set, all dependencies have to be met for this PackageOption to be active. // // Example scenario 1: // - Item 1 has 2 Options: 1.1 and 1.2 // - Item 2 has also 2 Options: 2.1 and 2.2, and item 2 is of type SELECTION // - Option 2.1 has a dependency on 1.1 // - Option 2.2 has a dependency on 1.2 // - If a user select 1.1, then 2.1 can be selected // - If a user select 1.2, then 2.2 can be selected // // Example scenario 2: // - Item 1 has 2 Options: 1.1 and 1.2 // - Item 2 has also 2 Options: 2.1 and 2.2, and item 2 is of type COST // - Option 2.1 has a dependency on 1.1 // - Option 2.2 has a dependency on 1.2 // - If a user select 1.1, then 2.1 will be automatically be selected // - If a user select 1.2, then 2.2 will be automatically be selected // // In this scenario Item 1 could represent cluster size and Item 2 could // represent the mumber of clients. Selecting medium (1.2) affects the // price of the number of clients (2.2). // // Example scenario 3: // - Item 1 has 2 Options: 1.1 and 1.2 // - Item 2 has also 2 Options: 2.1 and 2.2, and item 2 is of type SELECTION // - Option 2.1 has no dependencies // - Option 2.2 has no dependencies // - Either options 2.1 and 2.2 can be selected by the user, regardless // of the item 1 option value. Dependencies []*PackageOptionDependency `json:"dependencies"` // key is the unique identifier of the Option for a given Item. Key string `json:"key,omitempty"` // unit is the type of measurement that is used to calculate the quantity used of this product. Unit *Billing20201105Unit `json:"unit,omitempty"` // unit_display_key contains an human label for the product unit. // It will be present if the unit type is set to UNIT, as a way // to clarify what the customer is going to be charged for. UnitDisplayKey string `json:"unit_display_key,omitempty"` // unit_price is the price of a single unit of the product in USD. UnitPrice string `json:"unit_price,omitempty"` }
Billing20201105PackageOption PackageOption represents a selection of a PackageItem as part of a Package.
swagger:model billing_20201105PackageOption
func (*Billing20201105PackageOption) ContextValidate ¶
func (m *Billing20201105PackageOption) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 package option based on the context it is used
func (*Billing20201105PackageOption) MarshalBinary ¶
func (m *Billing20201105PackageOption) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105PackageOption) UnmarshalBinary ¶
func (m *Billing20201105PackageOption) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105RemoveOnDemandPaymentMethodResponse ¶
type Billing20201105RemoveOnDemandPaymentMethodResponse struct { // ok Ok bool `json:"ok,omitempty"` }
Billing20201105RemoveOnDemandPaymentMethodResponse billing 20201105 remove on demand payment method response
swagger:model billing_20201105RemoveOnDemandPaymentMethodResponse
func (*Billing20201105RemoveOnDemandPaymentMethodResponse) ContextValidate ¶
func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 remove on demand payment method response based on context it is used
func (*Billing20201105RemoveOnDemandPaymentMethodResponse) MarshalBinary ¶
func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105RemoveOnDemandPaymentMethodResponse) UnmarshalBinary ¶
func (m *Billing20201105RemoveOnDemandPaymentMethodResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105ResourceUsage ¶
type Billing20201105ResourceUsage struct { // amount is the sum of the amount of all line items. Amount string `json:"amount,omitempty"` // line_items is the list of line items as they would appear on an invoice. // They are a simplified version of the backend one, containing only // points useful for the UI. LineItems []*Billing20201105InvoiceLineItem `json:"line_items"` // resource is a link to the Resource for which this line item charges. Resource *LocationLink `json:"resource,omitempty"` // total_Hours contains the difference between usage_until and usage_from // in units of hours. TotalHours float64 `json:"total_hours,omitempty"` // usage_from is the start time of the first line item of this resource. // Format: date-time UsageFrom strfmt.DateTime `json:"usage_from,omitempty"` // usage_until is the end time of the last line item of this resource. // Format: date-time UsageUntil strfmt.DateTime `json:"usage_until,omitempty"` }
Billing20201105ResourceUsage ResourceUsage contains the usage of a single resource, including all the line items from it.
swagger:model billing_20201105ResourceUsage
func (*Billing20201105ResourceUsage) ContextValidate ¶
func (m *Billing20201105ResourceUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 resource usage based on the context it is used
func (*Billing20201105ResourceUsage) MarshalBinary ¶
func (m *Billing20201105ResourceUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105ResourceUsage) UnmarshalBinary ¶
func (m *Billing20201105ResourceUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105Statement ¶
type Billing20201105Statement struct { // billing_period_end is the end time of the period that was considered for // this usage calculation. // Format: date-time BillingPeriodEnd strfmt.DateTime `json:"billing_period_end,omitempty"` // billing_period_start is the start time of the period that was considered // for this usage calculation. // Format: date-time BillingPeriodStart strfmt.DateTime `json:"billing_period_start,omitempty"` // fcp contains flexible consumption specific properties. FlexibleConsumptionMetadata *Billing20201105StatementFlexibleConsumptionMetadata `json:"flexible_consumption_metadata,omitempty"` // id is the id associated with the statement. ID string `json:"id,omitempty"` // last_updated_at is the last time this statement gets updated. // This shows the last usage time that is included in this statement. // Format: date-time LastUpdatedAt strfmt.DateTime `json:"last_updated_at,omitempty"` // on_demand contains pay-as-you-go specific properties. OnDemandMetadata *Billing20201105StatementOnDemandMetadata `json:"on_demand_metadata,omitempty"` // resources has information about each resource that is part of the statement. Resources []*Billing20201105StatementResource `json:"resources"` // total is the cost produced within this billing period minus any // discount that is granted because of a positive account balance. This // should be considered an estimate because not all information required to // issue an invoice might have been taken into consideration (e.g. billing // address country and tax might not be reflected in this value). Total string `json:"total,omitempty"` }
Billing20201105Statement RunningUsage describes the usage that accrued during a specific billing period.
swagger:model billing_20201105Statement
func (*Billing20201105Statement) ContextValidate ¶
func (m *Billing20201105Statement) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 statement based on the context it is used
func (*Billing20201105Statement) MarshalBinary ¶
func (m *Billing20201105Statement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105Statement) UnmarshalBinary ¶
func (m *Billing20201105Statement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105StatementFlexibleConsumptionMetadata ¶
type Billing20201105StatementFlexibleConsumptionMetadata struct { // previous_billing_period_end is the end time of the last month's billing period that was considered for // this usage calculation. // Format: date-time PreviousBillingPeriodEnd strfmt.DateTime `json:"previous_billing_period_end,omitempty"` // previous_billing_period_start is the start time of the last month's billing period that was considered // for this usage calculation. // Format: date-time PreviousBillingPeriodStart strfmt.DateTime `json:"previous_billing_period_start,omitempty"` // previous_month_statement_id is the id associated with the statement for the previous month, if it exists. PreviousMonthStatementID string `json:"previous_month_statement_id,omitempty"` // previous_month_total is the total usage for the previous month PreviousMonthTotal string `json:"previous_month_total,omitempty"` }
Billing20201105StatementFlexibleConsumptionMetadata FlexibleConsumptionUsage contains Flexible Consumption specific properties.
swagger:model billing_20201105StatementFlexibleConsumptionMetadata
func (*Billing20201105StatementFlexibleConsumptionMetadata) ContextValidate ¶
func (m *Billing20201105StatementFlexibleConsumptionMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 statement flexible consumption metadata based on context it is used
func (*Billing20201105StatementFlexibleConsumptionMetadata) MarshalBinary ¶
func (m *Billing20201105StatementFlexibleConsumptionMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105StatementFlexibleConsumptionMetadata) UnmarshalBinary ¶
func (m *Billing20201105StatementFlexibleConsumptionMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105StatementOnDemandMetadata ¶
type Billing20201105StatementOnDemandMetadata struct { // discount is the amount of credits that would be deducted from the subtotal // if an invoice would be generated. Discount string `json:"discount,omitempty"` // remaining_balance is the account balance remaining after deducting the // calculated usage's subtotal_cost. This should be considered as an estimate // and understood as the potential new account balance if an invoice was // generated at the end of the billing period covered by this usage. RemainingBalance string `json:"remaining_balance,omitempty"` // status is the payment status of a PAYG statement Status *Cloudbilling20201105Status `json:"status,omitempty"` // subtotal_cost is the cost produced within this billing period. It's the sum // of all calculated line items' amounts. SubtotalCost string `json:"subtotal_cost,omitempty"` }
Billing20201105StatementOnDemandMetadata OnDemandUsage contains PAYG specific properties.
swagger:model billing_20201105StatementOnDemandMetadata
func (*Billing20201105StatementOnDemandMetadata) ContextValidate ¶
func (m *Billing20201105StatementOnDemandMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 statement on demand metadata based on the context it is used
func (*Billing20201105StatementOnDemandMetadata) MarshalBinary ¶
func (m *Billing20201105StatementOnDemandMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105StatementOnDemandMetadata) UnmarshalBinary ¶
func (m *Billing20201105StatementOnDemandMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105StatementResource ¶
type Billing20201105StatementResource struct { // active_from is the timestamp of when the billed resource became active. // Format: date-time ActiveFrom strfmt.DateTime `json:"active_from,omitempty"` // active_until is the timestamp of when the billed resource became inactive. // Format: date-time ActiveUntil strfmt.DateTime `json:"active_until,omitempty"` // amount is the sum of the amount of all line items. Amount string `json:"amount,omitempty"` // fcp contains flexible consumption specific properties. FlexibleConsumptionMetadata *Billing20201105StatementResourceFlexibleConsumptionMetadata `json:"flexible_consumption_metadata,omitempty"` // line_items is the list of line items as they would appear on an invoice. LineItems []*StatementResourceLineItem `json:"line_items"` // resource is a link to the Resource for which this line item charges. ResourceLink *LocationLink `json:"resource_link,omitempty"` }
Billing20201105StatementResource Resource contains the running usage of a single resource, including all the line items from it.
swagger:model billing_20201105StatementResource
func (*Billing20201105StatementResource) ContextValidate ¶
func (m *Billing20201105StatementResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 statement resource based on the context it is used
func (*Billing20201105StatementResource) MarshalBinary ¶
func (m *Billing20201105StatementResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105StatementResource) UnmarshalBinary ¶
func (m *Billing20201105StatementResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105StatementResourceFlexibleConsumptionMetadata ¶
type Billing20201105StatementResourceFlexibleConsumptionMetadata struct { // support_level is the contract support level of the given resource. SupportLevel string `json:"support_level,omitempty"` }
Billing20201105StatementResourceFlexibleConsumptionMetadata FlexibleConsumptionUsage contains Flexible Consumption specific properties
swagger:model billing_20201105StatementResourceFlexibleConsumptionMetadata
func (*Billing20201105StatementResourceFlexibleConsumptionMetadata) ContextValidate ¶
func (m *Billing20201105StatementResourceFlexibleConsumptionMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 statement resource flexible consumption metadata based on context it is used
func (*Billing20201105StatementResourceFlexibleConsumptionMetadata) MarshalBinary ¶
func (m *Billing20201105StatementResourceFlexibleConsumptionMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105StatementResourceFlexibleConsumptionMetadata) UnmarshalBinary ¶
func (m *Billing20201105StatementResourceFlexibleConsumptionMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105StatementSummary ¶
type Billing20201105StatementSummary struct { // amount is the dollar amount for the statement Amount string `json:"amount,omitempty"` // billing_period_end is the end date for the statement billing period // Format: date-time BillingPeriodEnd strfmt.DateTime `json:"billing_period_end,omitempty"` // billing_period_start is the start date for the statement billing period // Format: date-time BillingPeriodStart strfmt.DateTime `json:"billing_period_start,omitempty"` // id is the id associated with the statement ID string `json:"id,omitempty"` // OnDemandMetadata contains PAYG specific properties. OnDemandMetadata *Billing20201105StatementSummaryOnDemandMetadata `json:"on_demand_metadata,omitempty"` }
Billing20201105StatementSummary StatementSummary represents the response type for the ListStatements endpoint
swagger:model billing_20201105StatementSummary
func (*Billing20201105StatementSummary) ContextValidate ¶
func (m *Billing20201105StatementSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 statement summary based on the context it is used
func (*Billing20201105StatementSummary) MarshalBinary ¶
func (m *Billing20201105StatementSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105StatementSummary) UnmarshalBinary ¶
func (m *Billing20201105StatementSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105StatementSummaryOnDemandMetadata ¶
type Billing20201105StatementSummaryOnDemandMetadata struct { // status is the payment status of the statement Status *Cloudbilling20201105Status `json:"status,omitempty"` // url is an OnDemand-specific url for the stripe invoice PDF StripeURL string `json:"stripe_url,omitempty"` }
Billing20201105StatementSummaryOnDemandMetadata OnDemandMetadata contains PAYG specific properties.
swagger:model billing_20201105StatementSummaryOnDemandMetadata
func (*Billing20201105StatementSummaryOnDemandMetadata) ContextValidate ¶
func (m *Billing20201105StatementSummaryOnDemandMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 statement summary on demand metadata based on the context it is used
func (*Billing20201105StatementSummaryOnDemandMetadata) MarshalBinary ¶
func (m *Billing20201105StatementSummaryOnDemandMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105StatementSummaryOnDemandMetadata) UnmarshalBinary ¶
func (m *Billing20201105StatementSummaryOnDemandMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105SupportLevel ¶
type Billing20201105SupportLevel struct { // product_type is the product type this support level is for. ProductType string `json:"product_type,omitempty"` // support_level is the support level for the product_type SupportLevel string `json:"support_level,omitempty"` }
Billing20201105SupportLevel SupportLevel represents the support level associated with a product type
swagger:model billing_20201105SupportLevel
func (*Billing20201105SupportLevel) ContextValidate ¶
func (m *Billing20201105SupportLevel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing 20201105 support level based on context it is used
func (*Billing20201105SupportLevel) MarshalBinary ¶
func (m *Billing20201105SupportLevel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105SupportLevel) UnmarshalBinary ¶
func (m *Billing20201105SupportLevel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105TaxSettings ¶
type Billing20201105TaxSettings struct { // exemption_status indicates the customer’s tax exemption status which // can be one of none, exempt, or reverse. ExemptionStatus *TaxSettingsExemptionStatus `json:"exemption_status,omitempty"` // id is the tax ID to include on invoices. ID string `json:"id,omitempty"` // id_type is the tax ID type. IDType *TaxSettingsIDType `json:"id_type,omitempty"` }
Billing20201105TaxSettings TaxSettings contain a Billing Account's settings related to taxation.
These are oriented to Stripe's tax settings:
https://stripe.com/docs/billing/taxes/tax-rates.
swagger:model billing_20201105TaxSettings
func (*Billing20201105TaxSettings) ContextValidate ¶
func (m *Billing20201105TaxSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 tax settings based on the context it is used
func (*Billing20201105TaxSettings) MarshalBinary ¶
func (m *Billing20201105TaxSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105TaxSettings) UnmarshalBinary ¶
func (m *Billing20201105TaxSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105Unit ¶
type Billing20201105Unit string
Billing20201105Unit Unit is an enum with all possible measurement units the system accepts.
- HOUR: Valid for static products.
swagger:model billing_20201105Unit
const ( // Billing20201105UnitNOUNIT captures enum value "NO_UNIT" Billing20201105UnitNOUNIT Billing20201105Unit = "NO_UNIT" // Billing20201105UnitHOUR captures enum value "HOUR" Billing20201105UnitHOUR Billing20201105Unit = "HOUR" // Billing20201105UnitMINUTE captures enum value "MINUTE" Billing20201105UnitMINUTE Billing20201105Unit = "MINUTE" // Billing20201105UnitUNIT captures enum value "UNIT" Billing20201105UnitUNIT Billing20201105Unit = "UNIT" // Billing20201105UnitMONTH captures enum value "MONTH" Billing20201105UnitMONTH Billing20201105Unit = "MONTH" )
func NewBilling20201105Unit ¶
func NewBilling20201105Unit(value Billing20201105Unit) *Billing20201105Unit
func (Billing20201105Unit) ContextValidate ¶
ContextValidate validates this billing 20201105 unit based on context it is used
func (Billing20201105Unit) Pointer ¶
func (m Billing20201105Unit) Pointer() *Billing20201105Unit
Pointer returns a pointer to a freshly-allocated Billing20201105Unit.
type Billing20201105UpdateBillingAccountRequest ¶
type Billing20201105UpdateBillingAccountRequest struct { // country is the billing account's country which is used for selecting // country-specific prices and for invoicing. Country *Billing20201105Country `json:"country,omitempty"` // id is the user-settable ID that uniquely identifies the Billing Account // within the organization. ID string `json:"id,omitempty"` // name is the Billing Account's user-defined name. Name string `json:"name,omitempty"` // on_demand_billing_method configures the on-demand billing method for the // billing account. This billing method is expected to be charged with // on-demand cost that isn't covered by a contract or through a positive // account balance. OnDemandBillingMethod *Billing20201105OnDemandBillingMethod `json:"on_demand_billing_method,omitempty"` // organization_id is the ID of the organization to which the Billing Account // belongs. OrganizationID string `json:"organization_id,omitempty"` // project_ids is the list of IDs of all projects associated with the Billing // Account. Projects can be linked to *at most* one Billing Account. ProjectIds []string `json:"project_ids"` }
Billing20201105UpdateBillingAccountRequest UpdateBillingAccountRequest is the request to update a Billing Account.
swagger:model billing_20201105UpdateBillingAccountRequest
func (*Billing20201105UpdateBillingAccountRequest) ContextValidate ¶
func (m *Billing20201105UpdateBillingAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 update billing account request based on the context it is used
func (*Billing20201105UpdateBillingAccountRequest) MarshalBinary ¶
func (m *Billing20201105UpdateBillingAccountRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105UpdateBillingAccountRequest) UnmarshalBinary ¶
func (m *Billing20201105UpdateBillingAccountRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Billing20201105UpdateBillingAccountResponse ¶
type Billing20201105UpdateBillingAccountResponse struct { // billing_account is the Billing Account that was updated. BillingAccount *Billing20201105BillingAccount `json:"billing_account,omitempty"` // contract_billing_method_details contains details about the contract that // can be attached to a billing account to cover charges of it. ContractBillingMethodDetails *Billing20201105ContractBillingMethodDetails `json:"contract_billing_method_details,omitempty"` // flexible_consumption_billing_method_details contains details of the billing // account's flexible consumption billing method. // Only present when the billing account is activated for Flexible Consumption. FlexibleConsumptionBillingMethodDetails Billing20201105FlexibleConsumptionBillingMethodDetails `json:"flexible_consumption_billing_method_details,omitempty"` // on_demand_billing_method_details contains details about the on-demand // billing method of the billing account. OnDemandBillingMethodDetails *Billing20201105OnDemandBillingMethodDetails `json:"on_demand_billing_method_details,omitempty"` }
Billing20201105UpdateBillingAccountResponse UpdateBillingAccountResponse is the response from updating a Billing Account.
swagger:model billing_20201105UpdateBillingAccountResponse
func (*Billing20201105UpdateBillingAccountResponse) ContextValidate ¶
func (m *Billing20201105UpdateBillingAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this billing 20201105 update billing account response based on the context it is used
func (*Billing20201105UpdateBillingAccountResponse) MarshalBinary ¶
func (m *Billing20201105UpdateBillingAccountResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Billing20201105UpdateBillingAccountResponse) UnmarshalBinary ¶
func (m *Billing20201105UpdateBillingAccountResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingAccountOnDemandStatus ¶
type BillingAccountOnDemandStatus string
BillingAccountOnDemandStatus OnDemandStatus represents the status of the on-demand payment method for a given BillingAccount.
swagger:model BillingAccountOnDemandStatus
const ( // BillingAccountOnDemandStatusONDEMANDINVALID captures enum value "ON_DEMAND_INVALID" BillingAccountOnDemandStatusONDEMANDINVALID BillingAccountOnDemandStatus = "ON_DEMAND_INVALID" // BillingAccountOnDemandStatusONDEMANDUNSET captures enum value "ON_DEMAND_UNSET" BillingAccountOnDemandStatusONDEMANDUNSET BillingAccountOnDemandStatus = "ON_DEMAND_UNSET" // BillingAccountOnDemandStatusONDEMANDACTIVE captures enum value "ON_DEMAND_ACTIVE" BillingAccountOnDemandStatusONDEMANDACTIVE BillingAccountOnDemandStatus = "ON_DEMAND_ACTIVE" // BillingAccountOnDemandStatusONDEMANDDELETING captures enum value "ON_DEMAND_DELETING" BillingAccountOnDemandStatusONDEMANDDELETING BillingAccountOnDemandStatus = "ON_DEMAND_DELETING" )
func NewBillingAccountOnDemandStatus ¶
func NewBillingAccountOnDemandStatus(value BillingAccountOnDemandStatus) *BillingAccountOnDemandStatus
func (BillingAccountOnDemandStatus) ContextValidate ¶
func (m BillingAccountOnDemandStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this billing account on demand status based on context it is used
func (BillingAccountOnDemandStatus) Pointer ¶
func (m BillingAccountOnDemandStatus) Pointer() *BillingAccountOnDemandStatus
Pointer returns a pointer to a freshly-allocated BillingAccountOnDemandStatus.
type CardDetailsBrand ¶
type CardDetailsBrand string
CardDetailsBrand card details brand
swagger:model CardDetailsBrand
const ( // CardDetailsBrandUNKNOWN captures enum value "UNKNOWN" CardDetailsBrandUNKNOWN CardDetailsBrand = "UNKNOWN" // CardDetailsBrandAMERICANEXPRESS captures enum value "AMERICAN_EXPRESS" CardDetailsBrandAMERICANEXPRESS CardDetailsBrand = "AMERICAN_EXPRESS" // CardDetailsBrandDINERSCLUB captures enum value "DINERS_CLUB" CardDetailsBrandDINERSCLUB CardDetailsBrand = "DINERS_CLUB" // CardDetailsBrandDISCOVER captures enum value "DISCOVER" CardDetailsBrandDISCOVER CardDetailsBrand = "DISCOVER" // CardDetailsBrandJCB captures enum value "JCB" CardDetailsBrandJCB CardDetailsBrand = "JCB" // CardDetailsBrandMASTERCARD captures enum value "MASTERCARD" CardDetailsBrandMASTERCARD CardDetailsBrand = "MASTERCARD" // CardDetailsBrandUNIONPAY captures enum value "UNION_PAY" CardDetailsBrandUNIONPAY CardDetailsBrand = "UNION_PAY" // CardDetailsBrandVISA captures enum value "VISA" CardDetailsBrandVISA CardDetailsBrand = "VISA" )
func NewCardDetailsBrand ¶
func NewCardDetailsBrand(value CardDetailsBrand) *CardDetailsBrand
func (CardDetailsBrand) ContextValidate ¶
ContextValidate validates this card details brand based on context it is used
func (CardDetailsBrand) Pointer ¶
func (m CardDetailsBrand) Pointer() *CardDetailsBrand
Pointer returns a pointer to a freshly-allocated CardDetailsBrand.
type Cloudbilling20201105Status ¶
type Cloudbilling20201105Status string
Cloudbilling20201105Status Status represents the status of a given statement.
swagger:model cloudbilling_20201105Status
const ( // Cloudbilling20201105StatusOPEN captures enum value "OPEN" Cloudbilling20201105StatusOPEN Cloudbilling20201105Status = "OPEN" // Cloudbilling20201105StatusPAID captures enum value "PAID" Cloudbilling20201105StatusPAID Cloudbilling20201105Status = "PAID" // Cloudbilling20201105StatusOVERDUE captures enum value "OVERDUE" Cloudbilling20201105StatusOVERDUE Cloudbilling20201105Status = "OVERDUE" )
func NewCloudbilling20201105Status ¶
func NewCloudbilling20201105Status(value Cloudbilling20201105Status) *Cloudbilling20201105Status
func (Cloudbilling20201105Status) ContextValidate ¶
func (m Cloudbilling20201105Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cloudbilling 20201105 status based on context it is used
func (Cloudbilling20201105Status) Pointer ¶
func (m Cloudbilling20201105Status) Pointer() *Cloudbilling20201105Status
Pointer returns a pointer to a freshly-allocated Cloudbilling20201105Status.
type CloudlocationLocation ¶
type CloudlocationLocation struct { // organization_id is the id of the organization. OrganizationID string `json:"organization_id,omitempty"` // project_id is the projects id. ProjectID string `json:"project_id,omitempty"` // region is the region that the resource is located in. It is // optional if the object being referenced is a global object. Region *LocationRegion `json:"region,omitempty"` }
CloudlocationLocation Location represents a target for an operation in HCP.
swagger:model cloudlocationLocation
func (*CloudlocationLocation) ContextValidate ¶
ContextValidate validate this cloudlocation location based on the context it is used
func (*CloudlocationLocation) MarshalBinary ¶
func (m *CloudlocationLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudlocationLocation) UnmarshalBinary ¶
func (m *CloudlocationLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonPaginationRequest ¶
type CommonPaginationRequest struct { // Specifies a page token to use to retrieve the next page. Set this to the // `next_page_token` returned by previous list requests to get the next page of // results. If set, `previous_page_token` must not be set. NextPageToken string `json:"next_page_token,omitempty"` // The max number of results per page that should be returned. If the number // of available results is larger than `page_size`, a `next_page_token` is // returned which can be used to get the next page of results in subsequent // requests. A value of zero will cause `page_size` to be defaulted. PageSize int64 `json:"page_size,omitempty"` // Specifies a page token to use to retrieve the previous page. Set this to // the `previous_page_token` returned by previous list requests to get the // previous page of results. If set, `next_page_token` must not be set. PreviousPageToken string `json:"previous_page_token,omitempty"` }
CommonPaginationRequest PaginationRequest are the parameters for a paginated list request.
swagger:model commonPaginationRequest
func (*CommonPaginationRequest) ContextValidate ¶
func (m *CommonPaginationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this common pagination request based on context it is used
func (*CommonPaginationRequest) MarshalBinary ¶
func (m *CommonPaginationRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonPaginationRequest) UnmarshalBinary ¶
func (m *CommonPaginationRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CommonPaginationResponse ¶
type CommonPaginationResponse struct { // This token allows you to get the next page of results for list requests. // If the number of results is larger than `page_size`, use the // `next_page_token` as a value for the query parameter `next_page_token` in // the next request. The value will become empty when there are no more pages. NextPageToken string `json:"next_page_token,omitempty"` // This token allows you to get the previous page of results for list // requests. If the number of results is larger than `page_size`, use the // `previous_page_token` as a value for the query parameter // `previous_page_token` in the next request. The value will become empty when // there are no more pages. PreviousPageToken string `json:"previous_page_token,omitempty"` }
CommonPaginationResponse PaginationResponse is the response holding the page tokens for a paginated list response.
swagger:model commonPaginationResponse
func (*CommonPaginationResponse) ContextValidate ¶
func (m *CommonPaginationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this common pagination response based on context it is used
func (*CommonPaginationResponse) MarshalBinary ¶
func (m *CommonPaginationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CommonPaginationResponse) UnmarshalBinary ¶
func (m *CommonPaginationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConsumptionPoolUpdateInfoUpdateCause ¶
type ConsumptionPoolUpdateInfoUpdateCause string
ConsumptionPoolUpdateInfoUpdateCause update_cause defines possible reasons for the update to the consumption pool
swagger:model ConsumptionPoolUpdateInfoUpdateCause
const ( // ConsumptionPoolUpdateInfoUpdateCauseADDON captures enum value "ADDON" ConsumptionPoolUpdateInfoUpdateCauseADDON ConsumptionPoolUpdateInfoUpdateCause = "ADDON" // ConsumptionPoolUpdateInfoUpdateCauseROLLOVER captures enum value "ROLLOVER" ConsumptionPoolUpdateInfoUpdateCauseROLLOVER ConsumptionPoolUpdateInfoUpdateCause = "ROLLOVER" )
func NewConsumptionPoolUpdateInfoUpdateCause ¶
func NewConsumptionPoolUpdateInfoUpdateCause(value ConsumptionPoolUpdateInfoUpdateCause) *ConsumptionPoolUpdateInfoUpdateCause
func (ConsumptionPoolUpdateInfoUpdateCause) ContextValidate ¶
func (m ConsumptionPoolUpdateInfoUpdateCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this consumption pool update info update cause based on context it is used
func (ConsumptionPoolUpdateInfoUpdateCause) Pointer ¶
func (m ConsumptionPoolUpdateInfoUpdateCause) Pointer() *ConsumptionPoolUpdateInfoUpdateCause
Pointer returns a pointer to a freshly-allocated ConsumptionPoolUpdateInfoUpdateCause.
type LocationLink ¶
type LocationLink struct { // description is a human-friendly description for this link. This is // used primarily for informational purposes such as error messages. Description string `json:"description,omitempty"` // id is the identifier for this resource. ID string `json:"id,omitempty"` // location is the location where this resource is. Location *CloudlocationLocation `json:"location,omitempty"` // type is the unique type of the resource. Each service publishes a // unique set of types. The type value is recommended to be formatted // in "<org>.<type>" such as "hashicorp.hvn". This is to prevent conflicts // in the future, but any string value will work. Type string `json:"type,omitempty"` // uuid is the unique UUID for this resource. UUID string `json:"uuid,omitempty"` }
LocationLink Link is used to uniquely reference any resource within HashiCorp Cloud. This can be conceptually considered a "foreign key".
swagger:model locationLink
func (*LocationLink) ContextValidate ¶
ContextValidate validate this location link based on the context it is used
func (*LocationLink) MarshalBinary ¶
func (m *LocationLink) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LocationLink) UnmarshalBinary ¶
func (m *LocationLink) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LocationRegion ¶
type LocationRegion struct { // provider is the named cloud provider ("aws", "gcp", "azure") Provider string `json:"provider,omitempty"` // region is the cloud region ("us-west1", "us-east1") Region string `json:"region,omitempty"` }
LocationRegion Region identifies a Cloud data-plane region.
swagger:model locationRegion
func (*LocationRegion) ContextValidate ¶
ContextValidate validates this location region based on context it is used
func (*LocationRegion) MarshalBinary ¶
func (m *LocationRegion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LocationRegion) UnmarshalBinary ¶
func (m *LocationRegion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PackageOptionDependency ¶
type PackageOptionDependency struct { // item key ItemKey string `json:"item_key,omitempty"` // option key OptionKey string `json:"option_key,omitempty"` }
PackageOptionDependency Dependency describes a dependency with a Package option.
swagger:model PackageOptionDependency
func (*PackageOptionDependency) ContextValidate ¶
func (m *PackageOptionDependency) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this package option dependency based on context it is used
func (*PackageOptionDependency) MarshalBinary ¶
func (m *PackageOptionDependency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackageOptionDependency) UnmarshalBinary ¶
func (m *PackageOptionDependency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtobufAny ¶
type ProtobufAny struct { // A URL/resource name that uniquely identifies the type of the serialized // protocol buffer message. This string must contain at least // one "/" character. The last segment of the URL's path must represent // the fully qualified name of the type (as in // `path/google.protobuf.Duration`). The name should be in a canonical form // (e.g., leading "." is not accepted). // // In practice, teams usually precompile into the binary all types that they // expect it to use in the context of Any. However, for URLs which use the // scheme `http`, `https`, or no scheme, one can optionally set up a type // server that maps type URLs to message definitions as follows: // // * If no scheme is provided, `https` is assumed. // * An HTTP GET on the URL must yield a [google.protobuf.Type][] // value in binary format, or produce an error. // * Applications are allowed to cache lookup results based on the // URL, or have them precompiled into a binary to avoid any // lookup. Therefore, binary compatibility needs to be preserved // on changes to types. (Use versioned type names to manage // breaking changes.) // // Note: this functionality is not currently available in the official // protobuf release, and it is not used for type URLs beginning with // type.googleapis.com. // // Schemes other than `http`, `https` (or the empty scheme) might be // used with implementation specific semantics. TypeURL string `json:"type_url,omitempty"` // Must be a valid serialized protocol buffer of the above specified type. // Format: byte Value strfmt.Base64 `json:"value,omitempty"` }
ProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.
Example 1: Pack and unpack a message in C++.
Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... }
Example 2: Pack and unpack a message in Java.
Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); }
Example 3: Pack and unpack a message in Python.
foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ...
Example 4: Pack and unpack a message in Go
foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... }
The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".
JSON ¶
The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:
package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": <string>, "lastName": <string> }
If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):
{ "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" }
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RuntimeError ¶
type RuntimeError struct { // code Code int32 `json:"code,omitempty"` // details Details []*ProtobufAny `json:"details"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
RuntimeError runtime error
swagger:model runtimeError
func (*RuntimeError) ContextValidate ¶
ContextValidate validate this runtime error based on the context it is used
func (*RuntimeError) MarshalBinary ¶
func (m *RuntimeError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RuntimeError) UnmarshalBinary ¶
func (m *RuntimeError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatementResourceLineItem ¶
type StatementResourceLineItem struct { // amount is cost of this line item in USD. Amount string `json:"amount,omitempty"` // average_quantity is the average units of this product for the time the line item was active. AverageQuantity string `json:"average_quantity,omitempty"` // average_unit_display_key is human representation label of the average quantity for this product. AverageUnitDisplayKey string `json:"average_unit_display_key,omitempty"` // description is the name of the product associated with this line item. Description string `json:"description,omitempty"` // ended_at indicates when usage for the line item ended. // Format: date-time EndedAt strfmt.DateTime `json:"ended_at,omitempty"` // quantity is how many units of this product this item contains. Quantity string `json:"quantity,omitempty"` // started_at indicates when usage for the line item started. // Format: date-time StartedAt strfmt.DateTime `json:"started_at,omitempty"` // unit_display_key is the human representation label of the unit that was used in this product. UnitDisplayKey string `json:"unit_display_key,omitempty"` // unit_price is the price per unit of the product associated. // TODO: Use existing enum. UnitPrice string `json:"unit_price,omitempty"` }
StatementResourceLineItem LineItem represents a line item on an invoice.
swagger:model StatementResourceLineItem
func (*StatementResourceLineItem) ContextValidate ¶
func (m *StatementResourceLineItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this statement resource line item based on context it is used
func (*StatementResourceLineItem) MarshalBinary ¶
func (m *StatementResourceLineItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatementResourceLineItem) UnmarshalBinary ¶
func (m *StatementResourceLineItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaxSettingsExemptionStatus ¶
type TaxSettingsExemptionStatus string
TaxSettingsExemptionStatus tax settings exemption status
swagger:model TaxSettingsExemptionStatus
const ( // TaxSettingsExemptionStatusNONE captures enum value "NONE" TaxSettingsExemptionStatusNONE TaxSettingsExemptionStatus = "NONE" // TaxSettingsExemptionStatusEXEMPT captures enum value "EXEMPT" TaxSettingsExemptionStatusEXEMPT TaxSettingsExemptionStatus = "EXEMPT" // TaxSettingsExemptionStatusREVERSE captures enum value "REVERSE" TaxSettingsExemptionStatusREVERSE TaxSettingsExemptionStatus = "REVERSE" )
func NewTaxSettingsExemptionStatus ¶
func NewTaxSettingsExemptionStatus(value TaxSettingsExemptionStatus) *TaxSettingsExemptionStatus
func (TaxSettingsExemptionStatus) ContextValidate ¶
func (m TaxSettingsExemptionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this tax settings exemption status based on context it is used
func (TaxSettingsExemptionStatus) Pointer ¶
func (m TaxSettingsExemptionStatus) Pointer() *TaxSettingsExemptionStatus
Pointer returns a pointer to a freshly-allocated TaxSettingsExemptionStatus.
type TaxSettingsIDType ¶
type TaxSettingsIDType string
TaxSettingsIDType tax settings Id type
swagger:model TaxSettingsIdType
const ( // TaxSettingsIDTypeUNSET captures enum value "UNSET" TaxSettingsIDTypeUNSET TaxSettingsIDType = "UNSET" // TaxSettingsIDTypeAETRN captures enum value "AE_TRN" TaxSettingsIDTypeAETRN TaxSettingsIDType = "AE_TRN" // TaxSettingsIDTypeAUABN captures enum value "AU_ABN" TaxSettingsIDTypeAUABN TaxSettingsIDType = "AU_ABN" // TaxSettingsIDTypeBRCNPJ captures enum value "BR_CNPJ" TaxSettingsIDTypeBRCNPJ TaxSettingsIDType = "BR_CNPJ" // TaxSettingsIDTypeBRCPF captures enum value "BR_CPF" TaxSettingsIDTypeBRCPF TaxSettingsIDType = "BR_CPF" // TaxSettingsIDTypeCABN captures enum value "CA_BN" TaxSettingsIDTypeCABN TaxSettingsIDType = "CA_BN" // TaxSettingsIDTypeCAQST captures enum value "CA_QST" TaxSettingsIDTypeCAQST TaxSettingsIDType = "CA_QST" // TaxSettingsIDTypeCHVAT captures enum value "CH_VAT" TaxSettingsIDTypeCHVAT TaxSettingsIDType = "CH_VAT" // TaxSettingsIDTypeCLTIN captures enum value "CL_TIN" TaxSettingsIDTypeCLTIN TaxSettingsIDType = "CL_TIN" // TaxSettingsIDTypeESCIF captures enum value "ES_CIF" TaxSettingsIDTypeESCIF TaxSettingsIDType = "ES_CIF" // TaxSettingsIDTypeEUVAT captures enum value "EU_VAT" TaxSettingsIDTypeEUVAT TaxSettingsIDType = "EU_VAT" // TaxSettingsIDTypeHKBR captures enum value "HK_BR" TaxSettingsIDTypeHKBR TaxSettingsIDType = "HK_BR" // TaxSettingsIDTypeIDNPWP captures enum value "ID_NPWP" TaxSettingsIDTypeIDNPWP TaxSettingsIDType = "ID_NPWP" // TaxSettingsIDTypeINGST captures enum value "IN_GST" TaxSettingsIDTypeINGST TaxSettingsIDType = "IN_GST" // TaxSettingsIDTypeJPCN captures enum value "JP_CN" TaxSettingsIDTypeJPCN TaxSettingsIDType = "JP_CN" // TaxSettingsIDTypeKRBRN captures enum value "KR_BRN" TaxSettingsIDTypeKRBRN TaxSettingsIDType = "KR_BRN" // TaxSettingsIDTypeLIUID captures enum value "LI_UID" TaxSettingsIDTypeLIUID TaxSettingsIDType = "LI_UID" // TaxSettingsIDTypeMXRFC captures enum value "MX_RFC" TaxSettingsIDTypeMXRFC TaxSettingsIDType = "MX_RFC" // TaxSettingsIDTypeMYFRP captures enum value "MY_FRP" TaxSettingsIDTypeMYFRP TaxSettingsIDType = "MY_FRP" // TaxSettingsIDTypeMYITN captures enum value "MY_ITN" TaxSettingsIDTypeMYITN TaxSettingsIDType = "MY_ITN" // TaxSettingsIDTypeMYSST captures enum value "MY_SST" TaxSettingsIDTypeMYSST TaxSettingsIDType = "MY_SST" // TaxSettingsIDTypeNOVAT captures enum value "NO_VAT" TaxSettingsIDTypeNOVAT TaxSettingsIDType = "NO_VAT" // TaxSettingsIDTypeNZGST captures enum value "NZ_GST" TaxSettingsIDTypeNZGST TaxSettingsIDType = "NZ_GST" // TaxSettingsIDTypeRUINN captures enum value "RU_INN" TaxSettingsIDTypeRUINN TaxSettingsIDType = "RU_INN" // TaxSettingsIDTypeSAVAT captures enum value "SA_VAT" TaxSettingsIDTypeSAVAT TaxSettingsIDType = "SA_VAT" // TaxSettingsIDTypeSGGST captures enum value "SG_GST" TaxSettingsIDTypeSGGST TaxSettingsIDType = "SG_GST" // TaxSettingsIDTypeSGUEN captures enum value "SG_UEN" TaxSettingsIDTypeSGUEN TaxSettingsIDType = "SG_UEN" // TaxSettingsIDTypeTHVAT captures enum value "TH_VAT" TaxSettingsIDTypeTHVAT TaxSettingsIDType = "TH_VAT" // TaxSettingsIDTypeTWVAT captures enum value "TW_VAT" TaxSettingsIDTypeTWVAT TaxSettingsIDType = "TW_VAT" // TaxSettingsIDTypeUSEIN captures enum value "US_EIN" TaxSettingsIDTypeUSEIN TaxSettingsIDType = "US_EIN" // TaxSettingsIDTypeZAVAT captures enum value "ZA_VAT" TaxSettingsIDTypeZAVAT TaxSettingsIDType = "ZA_VAT" // TaxSettingsIDTypeGBVAT captures enum value "GB_VAT" TaxSettingsIDTypeGBVAT TaxSettingsIDType = "GB_VAT" )
func NewTaxSettingsIDType ¶
func NewTaxSettingsIDType(value TaxSettingsIDType) *TaxSettingsIDType
func (TaxSettingsIDType) ContextValidate ¶
ContextValidate validates this tax settings Id type based on context it is used
func (TaxSettingsIDType) Pointer ¶
func (m TaxSettingsIDType) Pointer() *TaxSettingsIDType
Pointer returns a pointer to a freshly-allocated TaxSettingsIDType.
Source Files ¶
- billing20201105_address.go
- billing20201105_available_package.go
- billing20201105_billing_account.go
- billing20201105_billing_account_status.go
- billing20201105_billing_account_usage.go
- billing20201105_card_details.go
- billing20201105_consumption_pool.go
- billing20201105_consumption_pool_status.go
- billing20201105_consumption_pool_update_info.go
- billing20201105_consumption_pools_summary.go
- billing20201105_contract_billing_method.go
- billing20201105_contract_billing_method_details.go
- billing20201105_country.go
- billing20201105_create_billing_account_request.go
- billing20201105_create_billing_account_response.go
- billing20201105_create_setup_intent_response.go
- billing20201105_customized_input.go
- billing20201105_delete_billing_account_response.go
- billing20201105_discount.go
- billing20201105_estimate_cost_request.go
- billing20201105_estimate_cost_response.go
- billing20201105_estimated_package_item_price.go
- billing20201105_flexible_consumption_billing_method_details.go
- billing20201105_get_billing_account_response.go
- billing20201105_get_consumption_pool_response.go
- billing20201105_get_running_statement_response.go
- billing20201105_get_statement_response.go
- billing20201105_get_usage_response.go
- billing20201105_invoice_line_item.go
- billing20201105_list_available_packages_response.go
- billing20201105_list_billing_accounts_response.go
- billing20201105_list_consumption_pools_response.go
- billing20201105_list_statements_response.go
- billing20201105_on_demand_billing_method.go
- billing20201105_on_demand_billing_method_details.go
- billing20201105_package_item.go
- billing20201105_package_item_selection.go
- billing20201105_package_item_type.go
- billing20201105_package_option.go
- billing20201105_remove_on_demand_payment_method_response.go
- billing20201105_resource_usage.go
- billing20201105_statement.go
- billing20201105_statement_flexible_consumption_metadata.go
- billing20201105_statement_on_demand_metadata.go
- billing20201105_statement_resource.go
- billing20201105_statement_resource_flexible_consumption_metadata.go
- billing20201105_statement_summary.go
- billing20201105_statement_summary_on_demand_metadata.go
- billing20201105_support_level.go
- billing20201105_tax_settings.go
- billing20201105_unit.go
- billing20201105_update_billing_account_request.go
- billing20201105_update_billing_account_response.go
- billing_account_on_demand_status.go
- card_details_brand.go
- cloudbilling20201105_status.go
- cloudlocation_location.go
- common_pagination_request.go
- common_pagination_response.go
- consumption_pool_update_info_update_cause.go
- location_link.go
- location_region.go
- package_option_dependency.go
- protobuf_any.go
- runtime_error.go
- statement_resource_line_item.go
- tax_settings_exemption_status.go
- tax_settings_id_type.go