Documentation ¶
Index ¶
- func PossibleValuesForDocumentSource() []string
- func PossibleValuesForFailedPaymentReason() []string
- func PossibleValuesForInvoiceDocumentType() []string
- func PossibleValuesForInvoiceStatus() []string
- func PossibleValuesForInvoiceType() []string
- func PossibleValuesForPaymentMethodFamily() []string
- func PossibleValuesForRefundReasonCode() []string
- func PossibleValuesForRefundStatus() []string
- func PossibleValuesForSpecialTaxationType() []string
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingAccountInvoiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingSubscriptionInvoiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceID(input interface{}, key string) (warnings []string, errors []error)
- type AmendOperationResponse
- type Amount
- type BillingAccountId
- type BillingAccountInvoiceId
- type BillingProfileId
- type BillingSubscriptionId
- type BillingSubscriptionInvoiceId
- func NewBillingSubscriptionInvoiceID(subscriptionId string, invoiceName string) BillingSubscriptionInvoiceId
- func ParseBillingSubscriptionInvoiceID(input string) (*BillingSubscriptionInvoiceId, error)
- func ParseBillingSubscriptionInvoiceIDInsensitively(input string) (*BillingSubscriptionInvoiceId, error)
- type DocumentDownloadRequest
- type DocumentDownloadResult
- type DocumentSource
- type DownloadByBillingAccountOperationOptions
- type DownloadByBillingAccountOperationResponse
- type DownloadByBillingSubscriptionOperationOptions
- type DownloadByBillingSubscriptionOperationResponse
- type DownloadDocumentsByBillingAccountOperationResponse
- type DownloadDocumentsByBillingSubscriptionOperationResponse
- type DownloadSummaryByBillingAccountOperationResponse
- type FailedPayment
- type FailedPaymentReason
- type GetByBillingAccountOperationResponse
- type GetByBillingSubscriptionOperationResponse
- type GetOperationResponse
- type Invoice
- type InvoiceClient
- func (c InvoiceClient) Amend(ctx context.Context, id BillingAccountInvoiceId) (result AmendOperationResponse, err error)
- func (c InvoiceClient) AmendThenPoll(ctx context.Context, id BillingAccountInvoiceId) error
- func (c InvoiceClient) DownloadByBillingAccount(ctx context.Context, id BillingAccountInvoiceId, ...) (result DownloadByBillingAccountOperationResponse, err error)
- func (c InvoiceClient) DownloadByBillingAccountThenPoll(ctx context.Context, id BillingAccountInvoiceId, ...) error
- func (c InvoiceClient) DownloadByBillingSubscription(ctx context.Context, id BillingSubscriptionInvoiceId, ...) (result DownloadByBillingSubscriptionOperationResponse, err error)
- func (c InvoiceClient) DownloadByBillingSubscriptionThenPoll(ctx context.Context, id BillingSubscriptionInvoiceId, ...) error
- func (c InvoiceClient) DownloadDocumentsByBillingAccount(ctx context.Context, id BillingAccountId, input []DocumentDownloadRequest) (result DownloadDocumentsByBillingAccountOperationResponse, err error)
- func (c InvoiceClient) DownloadDocumentsByBillingAccountThenPoll(ctx context.Context, id BillingAccountId, input []DocumentDownloadRequest) error
- func (c InvoiceClient) DownloadDocumentsByBillingSubscription(ctx context.Context, id BillingSubscriptionId, input []DocumentDownloadRequest) (result DownloadDocumentsByBillingSubscriptionOperationResponse, err error)
- func (c InvoiceClient) DownloadDocumentsByBillingSubscriptionThenPoll(ctx context.Context, id BillingSubscriptionId, input []DocumentDownloadRequest) error
- func (c InvoiceClient) DownloadSummaryByBillingAccount(ctx context.Context, id BillingAccountInvoiceId) (result DownloadSummaryByBillingAccountOperationResponse, err error)
- func (c InvoiceClient) DownloadSummaryByBillingAccountThenPoll(ctx context.Context, id BillingAccountInvoiceId) error
- func (c InvoiceClient) Get(ctx context.Context, id InvoiceId) (result GetOperationResponse, err error)
- func (c InvoiceClient) GetByBillingAccount(ctx context.Context, id BillingAccountInvoiceId) (result GetByBillingAccountOperationResponse, err error)
- func (c InvoiceClient) GetByBillingSubscription(ctx context.Context, id BillingSubscriptionInvoiceId) (result GetByBillingSubscriptionOperationResponse, err error)
- func (c InvoiceClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error)
- func (c InvoiceClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error)
- func (c InvoiceClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error)
- func (c InvoiceClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileOperationResponse, err error)
- func (c InvoiceClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileCompleteResult, error)
- func (c InvoiceClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error)
- func (c InvoiceClient) ListByBillingSubscription(ctx context.Context, id BillingSubscriptionId, ...) (result ListByBillingSubscriptionOperationResponse, err error)
- func (c InvoiceClient) ListByBillingSubscriptionComplete(ctx context.Context, id BillingSubscriptionId, ...) (ListByBillingSubscriptionCompleteResult, error)
- func (c InvoiceClient) ListByBillingSubscriptionCompleteMatchingPredicate(ctx context.Context, id BillingSubscriptionId, ...) (result ListByBillingSubscriptionCompleteResult, err error)
- type InvoiceDocument
- type InvoiceDocumentType
- type InvoiceId
- type InvoiceOperationPredicate
- type InvoiceProperties
- func (o *InvoiceProperties) GetDueDateAsTime() (*time.Time, error)
- func (o *InvoiceProperties) GetInvoiceDateAsTime() (*time.Time, error)
- func (o *InvoiceProperties) GetInvoicePeriodEndDateAsTime() (*time.Time, error)
- func (o *InvoiceProperties) GetInvoicePeriodStartDateAsTime() (*time.Time, error)
- func (o *InvoiceProperties) SetDueDateAsTime(input time.Time)
- func (o *InvoiceProperties) SetInvoiceDateAsTime(input time.Time)
- func (o *InvoiceProperties) SetInvoicePeriodEndDateAsTime(input time.Time)
- func (o *InvoiceProperties) SetInvoicePeriodStartDateAsTime(input time.Time)
- type InvoiceStatus
- type InvoiceType
- type ListByBillingAccountCompleteResult
- type ListByBillingAccountCustomPager
- type ListByBillingAccountOperationOptions
- type ListByBillingAccountOperationResponse
- type ListByBillingProfileCompleteResult
- type ListByBillingProfileCustomPager
- type ListByBillingProfileOperationOptions
- type ListByBillingProfileOperationResponse
- type ListByBillingSubscriptionCompleteResult
- type ListByBillingSubscriptionCustomPager
- type ListByBillingSubscriptionOperationOptions
- type ListByBillingSubscriptionOperationResponse
- type Payment
- type PaymentMethodFamily
- type RebillDetails
- type RefundDetailsSummary
- func (o *RefundDetailsSummary) GetApprovedOnAsTime() (*time.Time, error)
- func (o *RefundDetailsSummary) GetCompletedOnAsTime() (*time.Time, error)
- func (o *RefundDetailsSummary) GetRequestedOnAsTime() (*time.Time, error)
- func (o *RefundDetailsSummary) SetApprovedOnAsTime(input time.Time)
- func (o *RefundDetailsSummary) SetCompletedOnAsTime(input time.Time)
- func (o *RefundDetailsSummary) SetRequestedOnAsTime(input time.Time)
- type RefundReasonCode
- type RefundStatus
- type SpecialTaxationType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDocumentSource ¶
func PossibleValuesForDocumentSource() []string
func PossibleValuesForFailedPaymentReason ¶
func PossibleValuesForFailedPaymentReason() []string
func PossibleValuesForInvoiceDocumentType ¶
func PossibleValuesForInvoiceDocumentType() []string
func PossibleValuesForInvoiceStatus ¶
func PossibleValuesForInvoiceStatus() []string
func PossibleValuesForInvoiceType ¶
func PossibleValuesForInvoiceType() []string
func PossibleValuesForPaymentMethodFamily ¶
func PossibleValuesForPaymentMethodFamily() []string
func PossibleValuesForRefundReasonCode ¶
func PossibleValuesForRefundReasonCode() []string
func PossibleValuesForRefundStatus ¶
func PossibleValuesForRefundStatus() []string
func PossibleValuesForSpecialTaxationType ¶
func PossibleValuesForSpecialTaxationType() []string
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
func ValidateBillingAccountInvoiceID ¶
func ValidateBillingAccountInvoiceID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingAccountInvoiceID checks that 'input' can be parsed as a Billing Account Invoice ID
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidateBillingSubscriptionID ¶
func ValidateBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingSubscriptionID checks that 'input' can be parsed as a Billing Subscription ID
func ValidateBillingSubscriptionInvoiceID ¶
func ValidateBillingSubscriptionInvoiceID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingSubscriptionInvoiceID checks that 'input' can be parsed as a Billing Subscription Invoice ID
func ValidateInvoiceID ¶
ValidateInvoiceID checks that 'input' can be parsed as a Invoice ID
Types ¶
type AmendOperationResponse ¶
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountName string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountName string) BillingAccountId
NewBillingAccountID returns a new BillingAccountId struct
func ParseBillingAccountID ¶
func ParseBillingAccountID(input string) (*BillingAccountId, error)
ParseBillingAccountID parses 'input' into a BillingAccountId
func ParseBillingAccountIDInsensitively ¶
func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input
func (*BillingAccountId) FromParseResult ¶
func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountId) ID ¶
func (id BillingAccountId) ID() string
ID returns the formatted Billing Account ID
func (BillingAccountId) Segments ¶
func (id BillingAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account ID
func (BillingAccountId) String ¶
func (id BillingAccountId) String() string
String returns a human-readable description of this Billing Account ID
type BillingAccountInvoiceId ¶
BillingAccountInvoiceId is a struct representing the Resource ID for a Billing Account Invoice
func NewBillingAccountInvoiceID ¶
func NewBillingAccountInvoiceID(billingAccountName string, invoiceName string) BillingAccountInvoiceId
NewBillingAccountInvoiceID returns a new BillingAccountInvoiceId struct
func ParseBillingAccountInvoiceID ¶
func ParseBillingAccountInvoiceID(input string) (*BillingAccountInvoiceId, error)
ParseBillingAccountInvoiceID parses 'input' into a BillingAccountInvoiceId
func ParseBillingAccountInvoiceIDInsensitively ¶
func ParseBillingAccountInvoiceIDInsensitively(input string) (*BillingAccountInvoiceId, error)
ParseBillingAccountInvoiceIDInsensitively parses 'input' case-insensitively into a BillingAccountInvoiceId note: this method should only be used for API response data and not user input
func (*BillingAccountInvoiceId) FromParseResult ¶
func (id *BillingAccountInvoiceId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountInvoiceId) ID ¶
func (id BillingAccountInvoiceId) ID() string
ID returns the formatted Billing Account Invoice ID
func (BillingAccountInvoiceId) Segments ¶
func (id BillingAccountInvoiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account Invoice ID
func (BillingAccountInvoiceId) String ¶
func (id BillingAccountInvoiceId) String() string
String returns a human-readable description of this Billing Account Invoice ID
type BillingProfileId ¶
BillingProfileId is a struct representing the Resource ID for a Billing Profile
func NewBillingProfileID ¶
func NewBillingProfileID(billingAccountName string, billingProfileName string) BillingProfileId
NewBillingProfileID returns a new BillingProfileId struct
func ParseBillingProfileID ¶
func ParseBillingProfileID(input string) (*BillingProfileId, error)
ParseBillingProfileID parses 'input' into a BillingProfileId
func ParseBillingProfileIDInsensitively ¶
func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error)
ParseBillingProfileIDInsensitively parses 'input' case-insensitively into a BillingProfileId note: this method should only be used for API response data and not user input
func (*BillingProfileId) FromParseResult ¶
func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileId) ID ¶
func (id BillingProfileId) ID() string
ID returns the formatted Billing Profile ID
func (BillingProfileId) Segments ¶
func (id BillingProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile ID
func (BillingProfileId) String ¶
func (id BillingProfileId) String() string
String returns a human-readable description of this Billing Profile ID
type BillingSubscriptionId ¶
type BillingSubscriptionId struct {
SubscriptionId string
}
BillingSubscriptionId is a struct representing the Resource ID for a Billing Subscription
func NewBillingSubscriptionID ¶
func NewBillingSubscriptionID(subscriptionId string) BillingSubscriptionId
NewBillingSubscriptionID returns a new BillingSubscriptionId struct
func ParseBillingSubscriptionID ¶
func ParseBillingSubscriptionID(input string) (*BillingSubscriptionId, error)
ParseBillingSubscriptionID parses 'input' into a BillingSubscriptionId
func ParseBillingSubscriptionIDInsensitively ¶
func ParseBillingSubscriptionIDInsensitively(input string) (*BillingSubscriptionId, error)
ParseBillingSubscriptionIDInsensitively parses 'input' case-insensitively into a BillingSubscriptionId note: this method should only be used for API response data and not user input
func (*BillingSubscriptionId) FromParseResult ¶
func (id *BillingSubscriptionId) FromParseResult(input resourceids.ParseResult) error
func (BillingSubscriptionId) ID ¶
func (id BillingSubscriptionId) ID() string
ID returns the formatted Billing Subscription ID
func (BillingSubscriptionId) Segments ¶
func (id BillingSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Subscription ID
func (BillingSubscriptionId) String ¶
func (id BillingSubscriptionId) String() string
String returns a human-readable description of this Billing Subscription ID
type BillingSubscriptionInvoiceId ¶
BillingSubscriptionInvoiceId is a struct representing the Resource ID for a Billing Subscription Invoice
func NewBillingSubscriptionInvoiceID ¶
func NewBillingSubscriptionInvoiceID(subscriptionId string, invoiceName string) BillingSubscriptionInvoiceId
NewBillingSubscriptionInvoiceID returns a new BillingSubscriptionInvoiceId struct
func ParseBillingSubscriptionInvoiceID ¶
func ParseBillingSubscriptionInvoiceID(input string) (*BillingSubscriptionInvoiceId, error)
ParseBillingSubscriptionInvoiceID parses 'input' into a BillingSubscriptionInvoiceId
func ParseBillingSubscriptionInvoiceIDInsensitively ¶
func ParseBillingSubscriptionInvoiceIDInsensitively(input string) (*BillingSubscriptionInvoiceId, error)
ParseBillingSubscriptionInvoiceIDInsensitively parses 'input' case-insensitively into a BillingSubscriptionInvoiceId note: this method should only be used for API response data and not user input
func (*BillingSubscriptionInvoiceId) FromParseResult ¶
func (id *BillingSubscriptionInvoiceId) FromParseResult(input resourceids.ParseResult) error
func (BillingSubscriptionInvoiceId) ID ¶
func (id BillingSubscriptionInvoiceId) ID() string
ID returns the formatted Billing Subscription Invoice ID
func (BillingSubscriptionInvoiceId) Segments ¶
func (id BillingSubscriptionInvoiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Subscription Invoice ID
func (BillingSubscriptionInvoiceId) String ¶
func (id BillingSubscriptionInvoiceId) String() string
String returns a human-readable description of this Billing Subscription Invoice ID
type DocumentDownloadRequest ¶
type DocumentDownloadResult ¶
type DocumentSource ¶
type DocumentSource string
const ( DocumentSourceDRS DocumentSource = "DRS" DocumentSourceENF DocumentSource = "ENF" DocumentSourceOther DocumentSource = "Other" )
func (*DocumentSource) UnmarshalJSON ¶
func (s *DocumentSource) UnmarshalJSON(bytes []byte) error
type DownloadByBillingAccountOperationOptions ¶
type DownloadByBillingAccountOperationOptions struct {
DocumentName *string
}
func DefaultDownloadByBillingAccountOperationOptions ¶
func DefaultDownloadByBillingAccountOperationOptions() DownloadByBillingAccountOperationOptions
func (DownloadByBillingAccountOperationOptions) ToHeaders ¶
func (o DownloadByBillingAccountOperationOptions) ToHeaders() *client.Headers
func (DownloadByBillingAccountOperationOptions) ToOData ¶
func (o DownloadByBillingAccountOperationOptions) ToOData() *odata.Query
func (DownloadByBillingAccountOperationOptions) ToQuery ¶
func (o DownloadByBillingAccountOperationOptions) ToQuery() *client.QueryParams
type DownloadByBillingSubscriptionOperationOptions ¶
type DownloadByBillingSubscriptionOperationOptions struct {
DocumentName *string
}
func DefaultDownloadByBillingSubscriptionOperationOptions ¶
func DefaultDownloadByBillingSubscriptionOperationOptions() DownloadByBillingSubscriptionOperationOptions
func (DownloadByBillingSubscriptionOperationOptions) ToHeaders ¶
func (o DownloadByBillingSubscriptionOperationOptions) ToHeaders() *client.Headers
func (DownloadByBillingSubscriptionOperationOptions) ToOData ¶
func (o DownloadByBillingSubscriptionOperationOptions) ToOData() *odata.Query
func (DownloadByBillingSubscriptionOperationOptions) ToQuery ¶
func (o DownloadByBillingSubscriptionOperationOptions) ToQuery() *client.QueryParams
type FailedPayment ¶
type FailedPayment struct { Date *string `json:"date,omitempty"` FailedPaymentReason *FailedPaymentReason `json:"failedPaymentReason,omitempty"` }
func (*FailedPayment) GetDateAsTime ¶
func (o *FailedPayment) GetDateAsTime() (*time.Time, error)
func (*FailedPayment) SetDateAsTime ¶
func (o *FailedPayment) SetDateAsTime(input time.Time)
type FailedPaymentReason ¶
type FailedPaymentReason string
const ( FailedPaymentReasonBankDeclined FailedPaymentReason = "BankDeclined" FailedPaymentReasonCardExpired FailedPaymentReason = "CardExpired" FailedPaymentReasonIncorrectCardDetails FailedPaymentReason = "IncorrectCardDetails" FailedPaymentReasonOther FailedPaymentReason = "Other" )
func (*FailedPaymentReason) UnmarshalJSON ¶
func (s *FailedPaymentReason) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type Invoice ¶
type Invoice struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *InvoiceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type InvoiceClient ¶
type InvoiceClient struct {
Client *resourcemanager.Client
}
func NewInvoiceClientWithBaseURI ¶
func NewInvoiceClientWithBaseURI(sdkApi sdkEnv.Api) (*InvoiceClient, error)
func (InvoiceClient) Amend ¶
func (c InvoiceClient) Amend(ctx context.Context, id BillingAccountInvoiceId) (result AmendOperationResponse, err error)
Amend ...
func (InvoiceClient) AmendThenPoll ¶
func (c InvoiceClient) AmendThenPoll(ctx context.Context, id BillingAccountInvoiceId) error
AmendThenPoll performs Amend then polls until it's completed
func (InvoiceClient) DownloadByBillingAccount ¶
func (c InvoiceClient) DownloadByBillingAccount(ctx context.Context, id BillingAccountInvoiceId, options DownloadByBillingAccountOperationOptions) (result DownloadByBillingAccountOperationResponse, err error)
DownloadByBillingAccount ...
func (InvoiceClient) DownloadByBillingAccountThenPoll ¶
func (c InvoiceClient) DownloadByBillingAccountThenPoll(ctx context.Context, id BillingAccountInvoiceId, options DownloadByBillingAccountOperationOptions) error
DownloadByBillingAccountThenPoll performs DownloadByBillingAccount then polls until it's completed
func (InvoiceClient) DownloadByBillingSubscription ¶
func (c InvoiceClient) DownloadByBillingSubscription(ctx context.Context, id BillingSubscriptionInvoiceId, options DownloadByBillingSubscriptionOperationOptions) (result DownloadByBillingSubscriptionOperationResponse, err error)
DownloadByBillingSubscription ...
func (InvoiceClient) DownloadByBillingSubscriptionThenPoll ¶
func (c InvoiceClient) DownloadByBillingSubscriptionThenPoll(ctx context.Context, id BillingSubscriptionInvoiceId, options DownloadByBillingSubscriptionOperationOptions) error
DownloadByBillingSubscriptionThenPoll performs DownloadByBillingSubscription then polls until it's completed
func (InvoiceClient) DownloadDocumentsByBillingAccount ¶
func (c InvoiceClient) DownloadDocumentsByBillingAccount(ctx context.Context, id BillingAccountId, input []DocumentDownloadRequest) (result DownloadDocumentsByBillingAccountOperationResponse, err error)
DownloadDocumentsByBillingAccount ...
func (InvoiceClient) DownloadDocumentsByBillingAccountThenPoll ¶
func (c InvoiceClient) DownloadDocumentsByBillingAccountThenPoll(ctx context.Context, id BillingAccountId, input []DocumentDownloadRequest) error
DownloadDocumentsByBillingAccountThenPoll performs DownloadDocumentsByBillingAccount then polls until it's completed
func (InvoiceClient) DownloadDocumentsByBillingSubscription ¶
func (c InvoiceClient) DownloadDocumentsByBillingSubscription(ctx context.Context, id BillingSubscriptionId, input []DocumentDownloadRequest) (result DownloadDocumentsByBillingSubscriptionOperationResponse, err error)
DownloadDocumentsByBillingSubscription ...
func (InvoiceClient) DownloadDocumentsByBillingSubscriptionThenPoll ¶
func (c InvoiceClient) DownloadDocumentsByBillingSubscriptionThenPoll(ctx context.Context, id BillingSubscriptionId, input []DocumentDownloadRequest) error
DownloadDocumentsByBillingSubscriptionThenPoll performs DownloadDocumentsByBillingSubscription then polls until it's completed
func (InvoiceClient) DownloadSummaryByBillingAccount ¶
func (c InvoiceClient) DownloadSummaryByBillingAccount(ctx context.Context, id BillingAccountInvoiceId) (result DownloadSummaryByBillingAccountOperationResponse, err error)
DownloadSummaryByBillingAccount ...
func (InvoiceClient) DownloadSummaryByBillingAccountThenPoll ¶
func (c InvoiceClient) DownloadSummaryByBillingAccountThenPoll(ctx context.Context, id BillingAccountInvoiceId) error
DownloadSummaryByBillingAccountThenPoll performs DownloadSummaryByBillingAccount then polls until it's completed
func (InvoiceClient) Get ¶
func (c InvoiceClient) Get(ctx context.Context, id InvoiceId) (result GetOperationResponse, err error)
Get ...
func (InvoiceClient) GetByBillingAccount ¶
func (c InvoiceClient) GetByBillingAccount(ctx context.Context, id BillingAccountInvoiceId) (result GetByBillingAccountOperationResponse, err error)
GetByBillingAccount ...
func (InvoiceClient) GetByBillingSubscription ¶
func (c InvoiceClient) GetByBillingSubscription(ctx context.Context, id BillingSubscriptionInvoiceId) (result GetByBillingSubscriptionOperationResponse, err error)
GetByBillingSubscription ...
func (InvoiceClient) ListByBillingAccount ¶
func (c InvoiceClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (result ListByBillingAccountOperationResponse, err error)
ListByBillingAccount ...
func (InvoiceClient) ListByBillingAccountComplete ¶
func (c InvoiceClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (ListByBillingAccountCompleteResult, error)
ListByBillingAccountComplete retrieves all the results into a single object
func (InvoiceClient) ListByBillingAccountCompleteMatchingPredicate ¶
func (c InvoiceClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions, predicate InvoiceOperationPredicate) (result ListByBillingAccountCompleteResult, err error)
ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (InvoiceClient) ListByBillingProfile ¶
func (c InvoiceClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (result ListByBillingProfileOperationResponse, err error)
ListByBillingProfile ...
func (InvoiceClient) ListByBillingProfileComplete ¶
func (c InvoiceClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (ListByBillingProfileCompleteResult, error)
ListByBillingProfileComplete retrieves all the results into a single object
func (InvoiceClient) ListByBillingProfileCompleteMatchingPredicate ¶
func (c InvoiceClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions, predicate InvoiceOperationPredicate) (result ListByBillingProfileCompleteResult, err error)
ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (InvoiceClient) ListByBillingSubscription ¶
func (c InvoiceClient) ListByBillingSubscription(ctx context.Context, id BillingSubscriptionId, options ListByBillingSubscriptionOperationOptions) (result ListByBillingSubscriptionOperationResponse, err error)
ListByBillingSubscription ...
func (InvoiceClient) ListByBillingSubscriptionComplete ¶
func (c InvoiceClient) ListByBillingSubscriptionComplete(ctx context.Context, id BillingSubscriptionId, options ListByBillingSubscriptionOperationOptions) (ListByBillingSubscriptionCompleteResult, error)
ListByBillingSubscriptionComplete retrieves all the results into a single object
func (InvoiceClient) ListByBillingSubscriptionCompleteMatchingPredicate ¶
func (c InvoiceClient) ListByBillingSubscriptionCompleteMatchingPredicate(ctx context.Context, id BillingSubscriptionId, options ListByBillingSubscriptionOperationOptions, predicate InvoiceOperationPredicate) (result ListByBillingSubscriptionCompleteResult, err error)
ListByBillingSubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
type InvoiceDocument ¶
type InvoiceDocument struct { DocumentNumbers *[]string `json:"documentNumbers,omitempty"` ExternalURL *string `json:"externalUrl,omitempty"` Kind *InvoiceDocumentType `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Source *DocumentSource `json:"source,omitempty"` Url *string `json:"url,omitempty"` }
type InvoiceDocumentType ¶
type InvoiceDocumentType string
const ( InvoiceDocumentTypeCreditNote InvoiceDocumentType = "CreditNote" InvoiceDocumentTypeInvoice InvoiceDocumentType = "Invoice" InvoiceDocumentTypeOther InvoiceDocumentType = "Other" InvoiceDocumentTypeSummary InvoiceDocumentType = "Summary" InvoiceDocumentTypeTaxReceipt InvoiceDocumentType = "TaxReceipt" InvoiceDocumentTypeTransactions InvoiceDocumentType = "Transactions" InvoiceDocumentTypeVoidNote InvoiceDocumentType = "VoidNote" )
func (*InvoiceDocumentType) UnmarshalJSON ¶
func (s *InvoiceDocumentType) UnmarshalJSON(bytes []byte) error
type InvoiceId ¶
type InvoiceId struct {
InvoiceName string
}
InvoiceId is a struct representing the Resource ID for a Invoice
func NewInvoiceID ¶
NewInvoiceID returns a new InvoiceId struct
func ParseInvoiceID ¶
ParseInvoiceID parses 'input' into a InvoiceId
func ParseInvoiceIDInsensitively ¶
ParseInvoiceIDInsensitively parses 'input' case-insensitively into a InvoiceId note: this method should only be used for API response data and not user input
func (*InvoiceId) FromParseResult ¶
func (id *InvoiceId) FromParseResult(input resourceids.ParseResult) error
func (InvoiceId) Segments ¶
func (id InvoiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invoice ID
type InvoiceOperationPredicate ¶
func (InvoiceOperationPredicate) Matches ¶
func (p InvoiceOperationPredicate) Matches(input Invoice) bool
type InvoiceProperties ¶
type InvoiceProperties struct { AmountDue *Amount `json:"amountDue,omitempty"` AzurePrepaymentApplied *Amount `json:"azurePrepaymentApplied,omitempty"` BilledAmount *Amount `json:"billedAmount,omitempty"` BilledDocumentId *string `json:"billedDocumentId,omitempty"` BillingProfileDisplayName *string `json:"billingProfileDisplayName,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` CreditAmount *Amount `json:"creditAmount,omitempty"` CreditForDocumentId *string `json:"creditForDocumentId,omitempty"` DocumentType *InvoiceDocumentType `json:"documentType,omitempty"` Documents *[]InvoiceDocument `json:"documents,omitempty"` DueDate *string `json:"dueDate,omitempty"` FailedPayments *[]FailedPayment `json:"failedPayments,omitempty"` FreeAzureCreditApplied *Amount `json:"freeAzureCreditApplied,omitempty"` InvoiceDate *string `json:"invoiceDate,omitempty"` InvoicePeriodEndDate *string `json:"invoicePeriodEndDate,omitempty"` InvoicePeriodStartDate *string `json:"invoicePeriodStartDate,omitempty"` InvoiceType *InvoiceType `json:"invoiceType,omitempty"` IsMonthlyInvoice *bool `json:"isMonthlyInvoice,omitempty"` Payments *[]Payment `json:"payments,omitempty"` PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"` RebillDetails *RebillDetails `json:"rebillDetails,omitempty"` RefundDetails *RefundDetailsSummary `json:"refundDetails,omitempty"` SpecialTaxationType *SpecialTaxationType `json:"specialTaxationType,omitempty"` Status *InvoiceStatus `json:"status,omitempty"` SubTotal *Amount `json:"subTotal,omitempty"` SubscriptionDisplayName *string `json:"subscriptionDisplayName,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` TaxAmount *Amount `json:"taxAmount,omitempty"` TotalAmount *Amount `json:"totalAmount,omitempty"` }
func (*InvoiceProperties) GetDueDateAsTime ¶
func (o *InvoiceProperties) GetDueDateAsTime() (*time.Time, error)
func (*InvoiceProperties) GetInvoiceDateAsTime ¶
func (o *InvoiceProperties) GetInvoiceDateAsTime() (*time.Time, error)
func (*InvoiceProperties) GetInvoicePeriodEndDateAsTime ¶
func (o *InvoiceProperties) GetInvoicePeriodEndDateAsTime() (*time.Time, error)
func (*InvoiceProperties) GetInvoicePeriodStartDateAsTime ¶
func (o *InvoiceProperties) GetInvoicePeriodStartDateAsTime() (*time.Time, error)
func (*InvoiceProperties) SetDueDateAsTime ¶
func (o *InvoiceProperties) SetDueDateAsTime(input time.Time)
func (*InvoiceProperties) SetInvoiceDateAsTime ¶
func (o *InvoiceProperties) SetInvoiceDateAsTime(input time.Time)
func (*InvoiceProperties) SetInvoicePeriodEndDateAsTime ¶
func (o *InvoiceProperties) SetInvoicePeriodEndDateAsTime(input time.Time)
func (*InvoiceProperties) SetInvoicePeriodStartDateAsTime ¶
func (o *InvoiceProperties) SetInvoicePeriodStartDateAsTime(input time.Time)
type InvoiceStatus ¶
type InvoiceStatus string
const ( InvoiceStatusDue InvoiceStatus = "Due" InvoiceStatusLocked InvoiceStatus = "Locked" InvoiceStatusOther InvoiceStatus = "Other" InvoiceStatusOverDue InvoiceStatus = "OverDue" InvoiceStatusPaid InvoiceStatus = "Paid" InvoiceStatusVoid InvoiceStatus = "Void" )
func (*InvoiceStatus) UnmarshalJSON ¶
func (s *InvoiceStatus) UnmarshalJSON(bytes []byte) error
type InvoiceType ¶
type InvoiceType string
const ( InvoiceTypeAzureMarketplace InvoiceType = "AzureMarketplace" InvoiceTypeAzureServices InvoiceType = "AzureServices" InvoiceTypeAzureSupport InvoiceType = "AzureSupport" InvoiceTypeOther InvoiceType = "Other" )
func (*InvoiceType) UnmarshalJSON ¶
func (s *InvoiceType) UnmarshalJSON(bytes []byte) error
type ListByBillingAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link
type ListByBillingAccountOperationOptions ¶
type ListByBillingAccountOperationOptions struct { Count *bool Filter *string OrderBy *string PeriodEndDate *string PeriodStartDate *string Search *string Skip *int64 Top *int64 }
func DefaultListByBillingAccountOperationOptions ¶
func DefaultListByBillingAccountOperationOptions() ListByBillingAccountOperationOptions
func (ListByBillingAccountOperationOptions) ToHeaders ¶
func (o ListByBillingAccountOperationOptions) ToHeaders() *client.Headers
func (ListByBillingAccountOperationOptions) ToOData ¶
func (o ListByBillingAccountOperationOptions) ToOData() *odata.Query
func (ListByBillingAccountOperationOptions) ToQuery ¶
func (o ListByBillingAccountOperationOptions) ToQuery() *client.QueryParams
type ListByBillingProfileCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingProfileCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link
type ListByBillingProfileOperationOptions ¶
type ListByBillingProfileOperationOptions struct { Count *bool Filter *string OrderBy *string PeriodEndDate *string PeriodStartDate *string Search *string Skip *int64 Top *int64 }
func DefaultListByBillingProfileOperationOptions ¶
func DefaultListByBillingProfileOperationOptions() ListByBillingProfileOperationOptions
func (ListByBillingProfileOperationOptions) ToHeaders ¶
func (o ListByBillingProfileOperationOptions) ToHeaders() *client.Headers
func (ListByBillingProfileOperationOptions) ToOData ¶
func (o ListByBillingProfileOperationOptions) ToOData() *odata.Query
func (ListByBillingProfileOperationOptions) ToQuery ¶
func (o ListByBillingProfileOperationOptions) ToQuery() *client.QueryParams
type ListByBillingSubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingSubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingSubscriptionCustomPager) NextPageLink() *odata.Link
type ListByBillingSubscriptionOperationOptions ¶
type ListByBillingSubscriptionOperationOptions struct { Count *bool Filter *string OrderBy *string PeriodEndDate *string PeriodStartDate *string Search *string Skip *int64 Top *int64 }
func DefaultListByBillingSubscriptionOperationOptions ¶
func DefaultListByBillingSubscriptionOperationOptions() ListByBillingSubscriptionOperationOptions
func (ListByBillingSubscriptionOperationOptions) ToHeaders ¶
func (o ListByBillingSubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListByBillingSubscriptionOperationOptions) ToOData ¶
func (o ListByBillingSubscriptionOperationOptions) ToOData() *odata.Query
func (ListByBillingSubscriptionOperationOptions) ToQuery ¶
func (o ListByBillingSubscriptionOperationOptions) ToQuery() *client.QueryParams
type Payment ¶
type Payment struct { Amount *Amount `json:"amount,omitempty"` Date *string `json:"date,omitempty"` PaymentMethodFamily *PaymentMethodFamily `json:"paymentMethodFamily,omitempty"` PaymentMethodId *string `json:"paymentMethodId,omitempty"` PaymentMethodType *string `json:"paymentMethodType,omitempty"` PaymentType *string `json:"paymentType,omitempty"` }
func (*Payment) SetDateAsTime ¶
type PaymentMethodFamily ¶
type PaymentMethodFamily string
const ( PaymentMethodFamilyCheckWire PaymentMethodFamily = "CheckWire" PaymentMethodFamilyCreditCard PaymentMethodFamily = "CreditCard" PaymentMethodFamilyCredits PaymentMethodFamily = "Credits" PaymentMethodFamilyDirectDebit PaymentMethodFamily = "DirectDebit" PaymentMethodFamilyEWallet PaymentMethodFamily = "EWallet" PaymentMethodFamilyNone PaymentMethodFamily = "None" PaymentMethodFamilyOther PaymentMethodFamily = "Other" PaymentMethodFamilyTaskOrder PaymentMethodFamily = "TaskOrder" )
func (*PaymentMethodFamily) UnmarshalJSON ¶
func (s *PaymentMethodFamily) UnmarshalJSON(bytes []byte) error
type RebillDetails ¶
type RebillDetails struct { CreditNoteDocumentId *string `json:"creditNoteDocumentId,omitempty"` InvoiceDocumentId *string `json:"invoiceDocumentId,omitempty"` RebillDetails *RebillDetails `json:"rebillDetails,omitempty"` }
type RefundDetailsSummary ¶
type RefundDetailsSummary struct { AmountRefunded *Amount `json:"amountRefunded,omitempty"` AmountRequested *Amount `json:"amountRequested,omitempty"` ApprovedOn *string `json:"approvedOn,omitempty"` CompletedOn *string `json:"completedOn,omitempty"` RebillInvoiceId *string `json:"rebillInvoiceId,omitempty"` RefundOperationId *string `json:"refundOperationId,omitempty"` RefundReason *RefundReasonCode `json:"refundReason,omitempty"` RefundStatus *RefundStatus `json:"refundStatus,omitempty"` RequestedOn *string `json:"requestedOn,omitempty"` TransactionCount *int64 `json:"transactionCount,omitempty"` }
func (*RefundDetailsSummary) GetApprovedOnAsTime ¶
func (o *RefundDetailsSummary) GetApprovedOnAsTime() (*time.Time, error)
func (*RefundDetailsSummary) GetCompletedOnAsTime ¶
func (o *RefundDetailsSummary) GetCompletedOnAsTime() (*time.Time, error)
func (*RefundDetailsSummary) GetRequestedOnAsTime ¶
func (o *RefundDetailsSummary) GetRequestedOnAsTime() (*time.Time, error)
func (*RefundDetailsSummary) SetApprovedOnAsTime ¶
func (o *RefundDetailsSummary) SetApprovedOnAsTime(input time.Time)
func (*RefundDetailsSummary) SetCompletedOnAsTime ¶
func (o *RefundDetailsSummary) SetCompletedOnAsTime(input time.Time)
func (*RefundDetailsSummary) SetRequestedOnAsTime ¶
func (o *RefundDetailsSummary) SetRequestedOnAsTime(input time.Time)
type RefundReasonCode ¶
type RefundReasonCode string
const ( RefundReasonCodeAccidentalConversion RefundReasonCode = "AccidentalConversion" RefundReasonCodeAccidentalPurchase RefundReasonCode = "AccidentalPurchase" RefundReasonCodeForgotToCancel RefundReasonCode = "ForgotToCancel" RefundReasonCodeOther RefundReasonCode = "Other" RefundReasonCodeUnclearDocumentation RefundReasonCode = "UnclearDocumentation" RefundReasonCodeUnclearPricing RefundReasonCode = "UnclearPricing" )
func (*RefundReasonCode) UnmarshalJSON ¶
func (s *RefundReasonCode) UnmarshalJSON(bytes []byte) error
type RefundStatus ¶
type RefundStatus string
const ( RefundStatusApproved RefundStatus = "Approved" RefundStatusCancelled RefundStatus = "Cancelled" RefundStatusCompleted RefundStatus = "Completed" RefundStatusDeclined RefundStatus = "Declined" RefundStatusExpired RefundStatus = "Expired" RefundStatusOther RefundStatus = "Other" RefundStatusPending RefundStatus = "Pending" )
func (*RefundStatus) UnmarshalJSON ¶
func (s *RefundStatus) UnmarshalJSON(bytes []byte) error
type SpecialTaxationType ¶
type SpecialTaxationType string
const ( SpecialTaxationTypeInvoiceLevel SpecialTaxationType = "InvoiceLevel" SpecialTaxationTypeSubtotalLevel SpecialTaxationType = "SubtotalLevel" )
func (*SpecialTaxationType) UnmarshalJSON ¶
func (s *SpecialTaxationType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_billingaccountinvoice.go
- id_billingprofile.go
- id_billingsubscription.go
- id_billingsubscriptioninvoice.go
- id_invoice.go
- method_amend.go
- method_downloadbybillingaccount.go
- method_downloadbybillingsubscription.go
- method_downloaddocumentsbybillingaccount.go
- method_downloaddocumentsbybillingsubscription.go
- method_downloadsummarybybillingaccount.go
- method_get.go
- method_getbybillingaccount.go
- method_getbybillingsubscription.go
- method_listbybillingaccount.go
- method_listbybillingprofile.go
- method_listbybillingsubscription.go
- model_amount.go
- model_documentdownloadrequest.go
- model_documentdownloadresult.go
- model_failedpayment.go
- model_invoice.go
- model_invoicedocument.go
- model_invoiceproperties.go
- model_payment.go
- model_rebilldetails.go
- model_refunddetailssummary.go
- predicates.go
- version.go