Documentation ¶
Index ¶
- func PossibleValuesForDocumentType() []string
- func PossibleValuesForInvoiceStatus() []string
- func PossibleValuesForInvoiceType() []string
- func PossibleValuesForPaymentMethodFamily() []string
- func PossibleValuesForRebillDocumentType() []string
- func ValidateBillingAccountBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileInvoiceID(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 Amount
- type BillingAccountBillingSubscriptionId
- func NewBillingAccountBillingSubscriptionID(billingAccountName string, billingSubscriptionName string) BillingAccountBillingSubscriptionId
- func ParseBillingAccountBillingSubscriptionID(input string) (*BillingAccountBillingSubscriptionId, error)
- func ParseBillingAccountBillingSubscriptionIDInsensitively(input string) (*BillingAccountBillingSubscriptionId, error)
- type BillingAccountId
- type BillingProfileId
- type BillingProfileInvoiceId
- func NewBillingProfileInvoiceID(billingAccountName string, billingProfileName string, invoiceName string) BillingProfileInvoiceId
- func ParseBillingProfileInvoiceID(input string) (*BillingProfileInvoiceId, error)
- func ParseBillingProfileInvoiceIDInsensitively(input string) (*BillingProfileInvoiceId, error)
- type BillingSubscriptionId
- type BillingSubscriptionInvoiceId
- func NewBillingSubscriptionInvoiceID(billingAccountName string, billingSubscriptionName string, invoiceName string) BillingSubscriptionInvoiceId
- func ParseBillingSubscriptionInvoiceID(input string) (*BillingSubscriptionInvoiceId, error)
- func ParseBillingSubscriptionInvoiceIDInsensitively(input string) (*BillingSubscriptionInvoiceId, error)
- type Document
- type DocumentType
- type DownloadMultipleBillingProfileInvoicesOperationResponse
- type DownloadMultipleBillingSubscriptionInvoicesOperationResponse
- type DownloadMultipleEAInvoicesOperationResponse
- type DownloadURL
- type GetBillingAccountInvoiceOperationResponse
- type GetByIdOperationResponse
- type GetOperationResponse
- type Invoice
- 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 InvoiceRebillDetails
- type InvoiceStatus
- type InvoiceType
- type InvoicesClient
- func (c InvoicesClient) DownloadMultipleBillingProfileInvoices(ctx context.Context, id BillingProfileId, input []string) (result DownloadMultipleBillingProfileInvoicesOperationResponse, err error)
- func (c InvoicesClient) DownloadMultipleBillingProfileInvoicesThenPoll(ctx context.Context, id BillingProfileId, input []string) error
- func (c InvoicesClient) DownloadMultipleBillingSubscriptionInvoices(ctx context.Context, id BillingSubscriptionId, input []string) (result DownloadMultipleBillingSubscriptionInvoicesOperationResponse, err error)
- func (c InvoicesClient) DownloadMultipleBillingSubscriptionInvoicesThenPoll(ctx context.Context, id BillingSubscriptionId, input []string) error
- func (c InvoicesClient) DownloadMultipleEAInvoices(ctx context.Context, id BillingAccountId, input []string) (result DownloadMultipleEAInvoicesOperationResponse, err error)
- func (c InvoicesClient) DownloadMultipleEAInvoicesThenPoll(ctx context.Context, id BillingAccountId, input []string) error
- func (c InvoicesClient) Get(ctx context.Context, id BillingProfileInvoiceId) (result GetOperationResponse, err error)
- func (c InvoicesClient) GetBillingAccountInvoice(ctx context.Context, id InvoiceId) (result GetBillingAccountInvoiceOperationResponse, err error)
- func (c InvoicesClient) GetById(ctx context.Context, id BillingSubscriptionInvoiceId) (result GetByIdOperationResponse, err error)
- func (c InvoicesClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error)
- func (c InvoicesClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error)
- func (c InvoicesClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error)
- func (c InvoicesClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileOperationResponse, err error)
- func (c InvoicesClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileCompleteResult, error)
- func (c InvoicesClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error)
- func (c InvoicesClient) ListByBillingSubscription(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) (result ListByBillingSubscriptionOperationResponse, err error)
- func (c InvoicesClient) ListByBillingSubscriptionComplete(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) (ListByBillingSubscriptionCompleteResult, error)
- func (c InvoicesClient) ListByBillingSubscriptionCompleteMatchingPredicate(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) (result ListByBillingSubscriptionCompleteResult, err error)
- 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 PaymentMethodFamily
- type PaymentProperties
- type RebillDocumentType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDocumentType ¶
func PossibleValuesForDocumentType() []string
func PossibleValuesForInvoiceStatus ¶
func PossibleValuesForInvoiceStatus() []string
func PossibleValuesForInvoiceType ¶
func PossibleValuesForInvoiceType() []string
func PossibleValuesForPaymentMethodFamily ¶
func PossibleValuesForPaymentMethodFamily() []string
func PossibleValuesForRebillDocumentType ¶
func PossibleValuesForRebillDocumentType() []string
func ValidateBillingAccountBillingSubscriptionID ¶
func ValidateBillingAccountBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingAccountBillingSubscriptionID checks that 'input' can be parsed as a Billing Account Billing Subscription ID
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidateBillingProfileInvoiceID ¶
func ValidateBillingProfileInvoiceID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingProfileInvoiceID checks that 'input' can be parsed as a Billing Profile Invoice 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 BillingAccountBillingSubscriptionId ¶
type BillingAccountBillingSubscriptionId struct { BillingAccountName string BillingSubscriptionName string }
BillingAccountBillingSubscriptionId is a struct representing the Resource ID for a Billing Account Billing Subscription
func NewBillingAccountBillingSubscriptionID ¶
func NewBillingAccountBillingSubscriptionID(billingAccountName string, billingSubscriptionName string) BillingAccountBillingSubscriptionId
NewBillingAccountBillingSubscriptionID returns a new BillingAccountBillingSubscriptionId struct
func ParseBillingAccountBillingSubscriptionID ¶
func ParseBillingAccountBillingSubscriptionID(input string) (*BillingAccountBillingSubscriptionId, error)
ParseBillingAccountBillingSubscriptionID parses 'input' into a BillingAccountBillingSubscriptionId
func ParseBillingAccountBillingSubscriptionIDInsensitively ¶
func ParseBillingAccountBillingSubscriptionIDInsensitively(input string) (*BillingAccountBillingSubscriptionId, error)
ParseBillingAccountBillingSubscriptionIDInsensitively parses 'input' case-insensitively into a BillingAccountBillingSubscriptionId note: this method should only be used for API response data and not user input
func (*BillingAccountBillingSubscriptionId) FromParseResult ¶
func (id *BillingAccountBillingSubscriptionId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountBillingSubscriptionId) ID ¶
func (id BillingAccountBillingSubscriptionId) ID() string
ID returns the formatted Billing Account Billing Subscription ID
func (BillingAccountBillingSubscriptionId) Segments ¶
func (id BillingAccountBillingSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account Billing Subscription ID
func (BillingAccountBillingSubscriptionId) String ¶
func (id BillingAccountBillingSubscriptionId) String() string
String returns a human-readable description of this Billing Account Billing Subscription ID
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 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 BillingProfileInvoiceId ¶
type BillingProfileInvoiceId struct { BillingAccountName string BillingProfileName string InvoiceName string }
BillingProfileInvoiceId is a struct representing the Resource ID for a Billing Profile Invoice
func NewBillingProfileInvoiceID ¶
func NewBillingProfileInvoiceID(billingAccountName string, billingProfileName string, invoiceName string) BillingProfileInvoiceId
NewBillingProfileInvoiceID returns a new BillingProfileInvoiceId struct
func ParseBillingProfileInvoiceID ¶
func ParseBillingProfileInvoiceID(input string) (*BillingProfileInvoiceId, error)
ParseBillingProfileInvoiceID parses 'input' into a BillingProfileInvoiceId
func ParseBillingProfileInvoiceIDInsensitively ¶
func ParseBillingProfileInvoiceIDInsensitively(input string) (*BillingProfileInvoiceId, error)
ParseBillingProfileInvoiceIDInsensitively parses 'input' case-insensitively into a BillingProfileInvoiceId note: this method should only be used for API response data and not user input
func (*BillingProfileInvoiceId) FromParseResult ¶
func (id *BillingProfileInvoiceId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileInvoiceId) ID ¶
func (id BillingProfileInvoiceId) ID() string
ID returns the formatted Billing Profile Invoice ID
func (BillingProfileInvoiceId) Segments ¶
func (id BillingProfileInvoiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile Invoice ID
func (BillingProfileInvoiceId) String ¶
func (id BillingProfileInvoiceId) String() string
String returns a human-readable description of this Billing Profile Invoice 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 ¶
type BillingSubscriptionInvoiceId struct { BillingAccountName string BillingSubscriptionName string InvoiceName string }
BillingSubscriptionInvoiceId is a struct representing the Resource ID for a Billing Subscription Invoice
func NewBillingSubscriptionInvoiceID ¶
func NewBillingSubscriptionInvoiceID(billingAccountName string, billingSubscriptionName 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 Document ¶
type Document struct { DocumentNumbers *[]string `json:"documentNumbers,omitempty"` Kind *DocumentType `json:"kind,omitempty"` Url *string `json:"url,omitempty"` }
type DocumentType ¶
type DocumentType string
const ( DocumentTypeCreditNote DocumentType = "CreditNote" DocumentTypeInvoice DocumentType = "Invoice" DocumentTypeTaxReceipt DocumentType = "TaxReceipt" DocumentTypeVoidNote DocumentType = "VoidNote" )
func (*DocumentType) UnmarshalJSON ¶
func (s *DocumentType) UnmarshalJSON(bytes []byte) error
type DownloadURL ¶ added in v0.20241009.1142232
type DownloadURL struct { ExpiryTime *string `json:"expiryTime,omitempty"` Url *string `json:"url,omitempty"` }
func (*DownloadURL) GetExpiryTimeAsTime ¶ added in v0.20241009.1142232
func (o *DownloadURL) GetExpiryTimeAsTime() (*time.Time, error)
func (*DownloadURL) SetExpiryTimeAsTime ¶ added in v0.20241009.1142232
func (o *DownloadURL) SetExpiryTimeAsTime(input time.Time)
type GetOperationResponse ¶
type Invoice ¶
type Invoice struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *InvoiceProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type InvoiceId ¶
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"` BillingProfileDisplayName *string `json:"billingProfileDisplayName,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` CreditAmount *Amount `json:"creditAmount,omitempty"` Documents *[]Document `json:"documents,omitempty"` DueDate *string `json:"dueDate,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 *[]PaymentProperties `json:"payments,omitempty"` PurchaseOrderNumber *string `json:"purchaseOrderNumber,omitempty"` RebillDetails *InvoiceRebillDetails `json:"rebillDetails,omitempty"` Status *InvoiceStatus `json:"status,omitempty"` SubTotal *Amount `json:"subTotal,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 InvoiceRebillDetails ¶
type InvoiceRebillDetails struct { LatestInvoiceId *string `json:"latestInvoiceId,omitempty"` RebillDocumentType *RebillDocumentType `json:"rebillDocumentType,omitempty"` RebilledInvoiceId *string `json:"rebilledInvoiceId,omitempty"` }
type InvoiceStatus ¶
type InvoiceStatus string
const ( InvoiceStatusDue InvoiceStatus = "Due" 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" InvoiceTypeAzureService InvoiceType = "AzureService" InvoiceTypeAzureSupport InvoiceType = "AzureSupport" )
func (*InvoiceType) UnmarshalJSON ¶
func (s *InvoiceType) UnmarshalJSON(bytes []byte) error
type InvoicesClient ¶
type InvoicesClient struct {
Client *resourcemanager.Client
}
func NewInvoicesClientWithBaseURI ¶
func NewInvoicesClientWithBaseURI(sdkApi sdkEnv.Api) (*InvoicesClient, error)
func (InvoicesClient) DownloadMultipleBillingProfileInvoices ¶
func (c InvoicesClient) DownloadMultipleBillingProfileInvoices(ctx context.Context, id BillingProfileId, input []string) (result DownloadMultipleBillingProfileInvoicesOperationResponse, err error)
DownloadMultipleBillingProfileInvoices ...
func (InvoicesClient) DownloadMultipleBillingProfileInvoicesThenPoll ¶
func (c InvoicesClient) DownloadMultipleBillingProfileInvoicesThenPoll(ctx context.Context, id BillingProfileId, input []string) error
DownloadMultipleBillingProfileInvoicesThenPoll performs DownloadMultipleBillingProfileInvoices then polls until it's completed
func (InvoicesClient) DownloadMultipleBillingSubscriptionInvoices ¶
func (c InvoicesClient) DownloadMultipleBillingSubscriptionInvoices(ctx context.Context, id BillingSubscriptionId, input []string) (result DownloadMultipleBillingSubscriptionInvoicesOperationResponse, err error)
DownloadMultipleBillingSubscriptionInvoices ...
func (InvoicesClient) DownloadMultipleBillingSubscriptionInvoicesThenPoll ¶
func (c InvoicesClient) DownloadMultipleBillingSubscriptionInvoicesThenPoll(ctx context.Context, id BillingSubscriptionId, input []string) error
DownloadMultipleBillingSubscriptionInvoicesThenPoll performs DownloadMultipleBillingSubscriptionInvoices then polls until it's completed
func (InvoicesClient) DownloadMultipleEAInvoices ¶
func (c InvoicesClient) DownloadMultipleEAInvoices(ctx context.Context, id BillingAccountId, input []string) (result DownloadMultipleEAInvoicesOperationResponse, err error)
DownloadMultipleEAInvoices ...
func (InvoicesClient) DownloadMultipleEAInvoicesThenPoll ¶
func (c InvoicesClient) DownloadMultipleEAInvoicesThenPoll(ctx context.Context, id BillingAccountId, input []string) error
DownloadMultipleEAInvoicesThenPoll performs DownloadMultipleEAInvoices then polls until it's completed
func (InvoicesClient) Get ¶
func (c InvoicesClient) Get(ctx context.Context, id BillingProfileInvoiceId) (result GetOperationResponse, err error)
Get ...
func (InvoicesClient) GetBillingAccountInvoice ¶
func (c InvoicesClient) GetBillingAccountInvoice(ctx context.Context, id InvoiceId) (result GetBillingAccountInvoiceOperationResponse, err error)
GetBillingAccountInvoice ...
func (InvoicesClient) GetById ¶
func (c InvoicesClient) GetById(ctx context.Context, id BillingSubscriptionInvoiceId) (result GetByIdOperationResponse, err error)
GetById ...
func (InvoicesClient) ListByBillingAccount ¶
func (c InvoicesClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (result ListByBillingAccountOperationResponse, err error)
ListByBillingAccount ...
func (InvoicesClient) ListByBillingAccountComplete ¶ added in v0.20240226.1173038
func (c InvoicesClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (ListByBillingAccountCompleteResult, error)
ListByBillingAccountComplete retrieves all the results into a single object
func (InvoicesClient) ListByBillingAccountCompleteMatchingPredicate ¶ added in v0.20240226.1173038
func (c InvoicesClient) 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 (InvoicesClient) ListByBillingProfile ¶
func (c InvoicesClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (result ListByBillingProfileOperationResponse, err error)
ListByBillingProfile ...
func (InvoicesClient) ListByBillingProfileComplete ¶ added in v0.20240226.1173038
func (c InvoicesClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (ListByBillingProfileCompleteResult, error)
ListByBillingProfileComplete retrieves all the results into a single object
func (InvoicesClient) ListByBillingProfileCompleteMatchingPredicate ¶ added in v0.20240226.1173038
func (c InvoicesClient) 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 (InvoicesClient) ListByBillingSubscription ¶
func (c InvoicesClient) ListByBillingSubscription(ctx context.Context, id BillingAccountBillingSubscriptionId, options ListByBillingSubscriptionOperationOptions) (result ListByBillingSubscriptionOperationResponse, err error)
ListByBillingSubscription ...
func (InvoicesClient) ListByBillingSubscriptionComplete ¶
func (c InvoicesClient) ListByBillingSubscriptionComplete(ctx context.Context, id BillingAccountBillingSubscriptionId, options ListByBillingSubscriptionOperationOptions) (ListByBillingSubscriptionCompleteResult, error)
ListByBillingSubscriptionComplete retrieves all the results into a single object
func (InvoicesClient) ListByBillingSubscriptionCompleteMatchingPredicate ¶
func (c InvoicesClient) ListByBillingSubscriptionCompleteMatchingPredicate(ctx context.Context, id BillingAccountBillingSubscriptionId, options ListByBillingSubscriptionOperationOptions, predicate InvoiceOperationPredicate) (result ListByBillingSubscriptionCompleteResult, err error)
ListByBillingSubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByBillingAccountCompleteResult ¶ added in v0.20240226.1173038
type ListByBillingAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link
type ListByBillingAccountOperationOptions ¶
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 ListByBillingProfileCompleteResult ¶ added in v0.20240226.1173038
type ListByBillingProfileCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingProfileCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link
type ListByBillingProfileOperationOptions ¶
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 { PeriodEndDate *string PeriodStartDate *string }
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 PaymentMethodFamily ¶
type PaymentMethodFamily string
const ( PaymentMethodFamilyCheckWire PaymentMethodFamily = "CheckWire" PaymentMethodFamilyCreditCard PaymentMethodFamily = "CreditCard" PaymentMethodFamilyCredits PaymentMethodFamily = "Credits" PaymentMethodFamilyNone PaymentMethodFamily = "None" )
func (*PaymentMethodFamily) UnmarshalJSON ¶
func (s *PaymentMethodFamily) UnmarshalJSON(bytes []byte) error
type PaymentProperties ¶
type PaymentProperties struct { Amount *Amount `json:"amount,omitempty"` Date *string `json:"date,omitempty"` PaymentMethodFamily *PaymentMethodFamily `json:"paymentMethodFamily,omitempty"` PaymentMethodType *string `json:"paymentMethodType,omitempty"` PaymentType *string `json:"paymentType,omitempty"` }
func (*PaymentProperties) GetDateAsTime ¶
func (o *PaymentProperties) GetDateAsTime() (*time.Time, error)
func (*PaymentProperties) SetDateAsTime ¶
func (o *PaymentProperties) SetDateAsTime(input time.Time)
type RebillDocumentType ¶
type RebillDocumentType string
const ( RebillDocumentTypeCredit RebillDocumentType = "Credit" RebillDocumentTypeOriginal RebillDocumentType = "Original" RebillDocumentTypeRebill RebillDocumentType = "Rebill" )
func (*RebillDocumentType) UnmarshalJSON ¶
func (s *RebillDocumentType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_billingaccountbillingsubscription.go
- id_billingprofile.go
- id_billingprofileinvoice.go
- id_billingsubscription.go
- id_billingsubscriptioninvoice.go
- id_invoice.go
- method_downloadmultiplebillingprofileinvoices.go
- method_downloadmultiplebillingsubscriptioninvoices.go
- method_downloadmultipleeainvoices.go
- method_get.go
- method_getbillingaccountinvoice.go
- method_getbyid.go
- method_listbybillingaccount.go
- method_listbybillingprofile.go
- method_listbybillingsubscription.go
- model_amount.go
- model_document.go
- model_downloadurl.go
- model_invoice.go
- model_invoiceproperties.go
- model_invoicerebilldetails.go
- model_paymentproperties.go
- predicates.go
- version.go