Documentation ¶
Index ¶
- func PossibleValuesForCreditType() []string
- func PossibleValuesForSpecialTaxationType() []string
- func PossibleValuesForTransactionKind() []string
- func PossibleValuesForTransactionType() []string
- func ValidateBillingAccountInvoiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileCustomerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error)
- type Amount
- type BillingAccountInvoiceId
- type BillingProfileCustomerId
- func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId
- func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error)
- func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error)
- type BillingProfileId
- type CreditType
- type DocumentDownloadResult
- type GetTransactionSummaryByInvoiceOperationOptions
- type GetTransactionSummaryByInvoiceOperationResponse
- type InvoiceSectionId
- type ListByBillingProfileCompleteResult
- type ListByBillingProfileCustomPager
- type ListByBillingProfileOperationOptions
- type ListByBillingProfileOperationResponse
- type ListByCustomerCompleteResult
- type ListByCustomerCustomPager
- type ListByCustomerOperationOptions
- type ListByCustomerOperationResponse
- type ListByInvoiceCompleteResult
- type ListByInvoiceCustomPager
- type ListByInvoiceOperationOptions
- type ListByInvoiceOperationResponse
- type ListByInvoiceSectionCompleteResult
- type ListByInvoiceSectionCustomPager
- type ListByInvoiceSectionOperationOptions
- type ListByInvoiceSectionOperationResponse
- type RefundTransactionDetails
- type SpecialTaxationType
- type Transaction
- type TransactionClient
- func (c TransactionClient) GetTransactionSummaryByInvoice(ctx context.Context, id BillingAccountInvoiceId, ...) (result GetTransactionSummaryByInvoiceOperationResponse, err error)
- func (c TransactionClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileOperationResponse, err error)
- func (c TransactionClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileCompleteResult, error)
- func (c TransactionClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error)
- func (c TransactionClient) ListByCustomer(ctx context.Context, id BillingProfileCustomerId, ...) (result ListByCustomerOperationResponse, err error)
- func (c TransactionClient) ListByCustomerComplete(ctx context.Context, id BillingProfileCustomerId, ...) (ListByCustomerCompleteResult, error)
- func (c TransactionClient) ListByCustomerCompleteMatchingPredicate(ctx context.Context, id BillingProfileCustomerId, ...) (result ListByCustomerCompleteResult, err error)
- func (c TransactionClient) ListByInvoice(ctx context.Context, id BillingAccountInvoiceId, ...) (result ListByInvoiceOperationResponse, err error)
- func (c TransactionClient) ListByInvoiceComplete(ctx context.Context, id BillingAccountInvoiceId, ...) (ListByInvoiceCompleteResult, error)
- func (c TransactionClient) ListByInvoiceCompleteMatchingPredicate(ctx context.Context, id BillingAccountInvoiceId, ...) (result ListByInvoiceCompleteResult, err error)
- func (c TransactionClient) ListByInvoiceSection(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionOperationResponse, err error)
- func (c TransactionClient) ListByInvoiceSectionComplete(ctx context.Context, id InvoiceSectionId, ...) (ListByInvoiceSectionCompleteResult, error)
- func (c TransactionClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionCompleteResult, err error)
- func (c TransactionClient) TransactionsDownloadByInvoice(ctx context.Context, id BillingAccountInvoiceId) (result TransactionsDownloadByInvoiceOperationResponse, err error)
- func (c TransactionClient) TransactionsDownloadByInvoiceThenPoll(ctx context.Context, id BillingAccountInvoiceId) error
- type TransactionKind
- type TransactionOperationPredicate
- type TransactionProperties
- func (o *TransactionProperties) GetDateAsTime() (*time.Time, error)
- func (o *TransactionProperties) GetServicePeriodEndDateAsTime() (*time.Time, error)
- func (o *TransactionProperties) GetServicePeriodStartDateAsTime() (*time.Time, error)
- func (o *TransactionProperties) SetDateAsTime(input time.Time)
- func (o *TransactionProperties) SetServicePeriodEndDateAsTime(input time.Time)
- func (o *TransactionProperties) SetServicePeriodStartDateAsTime(input time.Time)
- type TransactionSummary
- type TransactionType
- type TransactionsDownloadByInvoiceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCreditType ¶
func PossibleValuesForCreditType() []string
func PossibleValuesForSpecialTaxationType ¶
func PossibleValuesForSpecialTaxationType() []string
func PossibleValuesForTransactionKind ¶
func PossibleValuesForTransactionKind() []string
func PossibleValuesForTransactionType ¶
func PossibleValuesForTransactionType() []string
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 ValidateBillingProfileCustomerID ¶
func ValidateBillingProfileCustomerID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingProfileCustomerID checks that 'input' can be parsed as a Billing Profile Customer ID
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidateInvoiceSectionID ¶
ValidateInvoiceSectionID checks that 'input' can be parsed as a Invoice Section ID
Types ¶
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 BillingProfileCustomerId ¶
type BillingProfileCustomerId struct { BillingAccountName string BillingProfileName string CustomerName string }
BillingProfileCustomerId is a struct representing the Resource ID for a Billing Profile Customer
func NewBillingProfileCustomerID ¶
func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId
NewBillingProfileCustomerID returns a new BillingProfileCustomerId struct
func ParseBillingProfileCustomerID ¶
func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error)
ParseBillingProfileCustomerID parses 'input' into a BillingProfileCustomerId
func ParseBillingProfileCustomerIDInsensitively ¶
func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error)
ParseBillingProfileCustomerIDInsensitively parses 'input' case-insensitively into a BillingProfileCustomerId note: this method should only be used for API response data and not user input
func (*BillingProfileCustomerId) FromParseResult ¶
func (id *BillingProfileCustomerId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileCustomerId) ID ¶
func (id BillingProfileCustomerId) ID() string
ID returns the formatted Billing Profile Customer ID
func (BillingProfileCustomerId) Segments ¶
func (id BillingProfileCustomerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile Customer ID
func (BillingProfileCustomerId) String ¶
func (id BillingProfileCustomerId) String() string
String returns a human-readable description of this Billing Profile Customer 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 CreditType ¶
type CreditType string
const ( CreditTypeAzureCreditOffer CreditType = "AzureCreditOffer" CreditTypeAzureFreeCredit CreditType = "AzureFreeCredit" CreditTypeOther CreditType = "Other" CreditTypeRefund CreditType = "Refund" CreditTypeServiceInterruption CreditType = "ServiceInterruption" )
func (*CreditType) UnmarshalJSON ¶
func (s *CreditType) UnmarshalJSON(bytes []byte) error
type DocumentDownloadResult ¶
type GetTransactionSummaryByInvoiceOperationOptions ¶
func DefaultGetTransactionSummaryByInvoiceOperationOptions ¶
func DefaultGetTransactionSummaryByInvoiceOperationOptions() GetTransactionSummaryByInvoiceOperationOptions
func (GetTransactionSummaryByInvoiceOperationOptions) ToHeaders ¶
func (o GetTransactionSummaryByInvoiceOperationOptions) ToHeaders() *client.Headers
func (GetTransactionSummaryByInvoiceOperationOptions) ToOData ¶
func (o GetTransactionSummaryByInvoiceOperationOptions) ToOData() *odata.Query
func (GetTransactionSummaryByInvoiceOperationOptions) ToQuery ¶
func (o GetTransactionSummaryByInvoiceOperationOptions) ToQuery() *client.QueryParams
type GetTransactionSummaryByInvoiceOperationResponse ¶
type GetTransactionSummaryByInvoiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TransactionSummary }
type InvoiceSectionId ¶
type InvoiceSectionId struct { BillingAccountName string BillingProfileName string InvoiceSectionName string }
InvoiceSectionId is a struct representing the Resource ID for a Invoice Section
func NewInvoiceSectionID ¶
func NewInvoiceSectionID(billingAccountName string, billingProfileName string, invoiceSectionName string) InvoiceSectionId
NewInvoiceSectionID returns a new InvoiceSectionId struct
func ParseInvoiceSectionID ¶
func ParseInvoiceSectionID(input string) (*InvoiceSectionId, error)
ParseInvoiceSectionID parses 'input' into a InvoiceSectionId
func ParseInvoiceSectionIDInsensitively ¶
func ParseInvoiceSectionIDInsensitively(input string) (*InvoiceSectionId, error)
ParseInvoiceSectionIDInsensitively parses 'input' case-insensitively into a InvoiceSectionId note: this method should only be used for API response data and not user input
func (*InvoiceSectionId) FromParseResult ¶
func (id *InvoiceSectionId) FromParseResult(input resourceids.ParseResult) error
func (InvoiceSectionId) ID ¶
func (id InvoiceSectionId) ID() string
ID returns the formatted Invoice Section ID
func (InvoiceSectionId) Segments ¶
func (id InvoiceSectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invoice Section ID
func (InvoiceSectionId) String ¶
func (id InvoiceSectionId) String() string
String returns a human-readable description of this Invoice Section ID
type ListByBillingProfileCompleteResult ¶
type ListByBillingProfileCompleteResult struct { LatestHttpResponse *http.Response Items []Transaction }
type ListByBillingProfileCustomPager ¶
func (*ListByBillingProfileCustomPager) NextPageLink ¶
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 Type *TransactionType }
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 ListByBillingProfileOperationResponse ¶
type ListByBillingProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Transaction }
type ListByCustomerCompleteResult ¶
type ListByCustomerCompleteResult struct { LatestHttpResponse *http.Response Items []Transaction }
type ListByCustomerCustomPager ¶
func (*ListByCustomerCustomPager) NextPageLink ¶
func (p *ListByCustomerCustomPager) NextPageLink() *odata.Link
type ListByCustomerOperationOptions ¶
type ListByCustomerOperationOptions struct { Count *bool Filter *string OrderBy *string PeriodEndDate *string PeriodStartDate *string Search *string Skip *int64 Top *int64 Type *TransactionType }
func DefaultListByCustomerOperationOptions ¶
func DefaultListByCustomerOperationOptions() ListByCustomerOperationOptions
func (ListByCustomerOperationOptions) ToHeaders ¶
func (o ListByCustomerOperationOptions) ToHeaders() *client.Headers
func (ListByCustomerOperationOptions) ToOData ¶
func (o ListByCustomerOperationOptions) ToOData() *odata.Query
func (ListByCustomerOperationOptions) ToQuery ¶
func (o ListByCustomerOperationOptions) ToQuery() *client.QueryParams
type ListByCustomerOperationResponse ¶
type ListByCustomerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Transaction }
type ListByInvoiceCompleteResult ¶
type ListByInvoiceCompleteResult struct { LatestHttpResponse *http.Response Items []Transaction }
type ListByInvoiceCustomPager ¶
func (*ListByInvoiceCustomPager) NextPageLink ¶
func (p *ListByInvoiceCustomPager) NextPageLink() *odata.Link
type ListByInvoiceOperationOptions ¶
type ListByInvoiceOperationOptions struct { Count *bool Filter *string OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByInvoiceOperationOptions ¶
func DefaultListByInvoiceOperationOptions() ListByInvoiceOperationOptions
func (ListByInvoiceOperationOptions) ToHeaders ¶
func (o ListByInvoiceOperationOptions) ToHeaders() *client.Headers
func (ListByInvoiceOperationOptions) ToOData ¶
func (o ListByInvoiceOperationOptions) ToOData() *odata.Query
func (ListByInvoiceOperationOptions) ToQuery ¶
func (o ListByInvoiceOperationOptions) ToQuery() *client.QueryParams
type ListByInvoiceOperationResponse ¶
type ListByInvoiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Transaction }
type ListByInvoiceSectionCompleteResult ¶
type ListByInvoiceSectionCompleteResult struct { LatestHttpResponse *http.Response Items []Transaction }
type ListByInvoiceSectionCustomPager ¶
func (*ListByInvoiceSectionCustomPager) NextPageLink ¶
func (p *ListByInvoiceSectionCustomPager) NextPageLink() *odata.Link
type ListByInvoiceSectionOperationOptions ¶
type ListByInvoiceSectionOperationOptions struct { Count *bool Filter *string OrderBy *string PeriodEndDate *string PeriodStartDate *string Search *string Skip *int64 Top *int64 Type *TransactionType }
func DefaultListByInvoiceSectionOperationOptions ¶
func DefaultListByInvoiceSectionOperationOptions() ListByInvoiceSectionOperationOptions
func (ListByInvoiceSectionOperationOptions) ToHeaders ¶
func (o ListByInvoiceSectionOperationOptions) ToHeaders() *client.Headers
func (ListByInvoiceSectionOperationOptions) ToOData ¶
func (o ListByInvoiceSectionOperationOptions) ToOData() *odata.Query
func (ListByInvoiceSectionOperationOptions) ToQuery ¶
func (o ListByInvoiceSectionOperationOptions) ToQuery() *client.QueryParams
type ListByInvoiceSectionOperationResponse ¶
type ListByInvoiceSectionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Transaction }
type SpecialTaxationType ¶
type SpecialTaxationType string
const ( SpecialTaxationTypeInvoiceLevel SpecialTaxationType = "InvoiceLevel" SpecialTaxationTypeSubtotalLevel SpecialTaxationType = "SubtotalLevel" )
func (*SpecialTaxationType) UnmarshalJSON ¶
func (s *SpecialTaxationType) UnmarshalJSON(bytes []byte) error
type Transaction ¶
type Transaction struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TransactionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type TransactionClient ¶
type TransactionClient struct {
Client *resourcemanager.Client
}
func NewTransactionClientWithBaseURI ¶
func NewTransactionClientWithBaseURI(sdkApi sdkEnv.Api) (*TransactionClient, error)
func (TransactionClient) GetTransactionSummaryByInvoice ¶
func (c TransactionClient) GetTransactionSummaryByInvoice(ctx context.Context, id BillingAccountInvoiceId, options GetTransactionSummaryByInvoiceOperationOptions) (result GetTransactionSummaryByInvoiceOperationResponse, err error)
GetTransactionSummaryByInvoice ...
func (TransactionClient) ListByBillingProfile ¶
func (c TransactionClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (result ListByBillingProfileOperationResponse, err error)
ListByBillingProfile ...
func (TransactionClient) ListByBillingProfileComplete ¶
func (c TransactionClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (ListByBillingProfileCompleteResult, error)
ListByBillingProfileComplete retrieves all the results into a single object
func (TransactionClient) ListByBillingProfileCompleteMatchingPredicate ¶
func (c TransactionClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions, predicate TransactionOperationPredicate) (result ListByBillingProfileCompleteResult, err error)
ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TransactionClient) ListByCustomer ¶
func (c TransactionClient) ListByCustomer(ctx context.Context, id BillingProfileCustomerId, options ListByCustomerOperationOptions) (result ListByCustomerOperationResponse, err error)
ListByCustomer ...
func (TransactionClient) ListByCustomerComplete ¶
func (c TransactionClient) ListByCustomerComplete(ctx context.Context, id BillingProfileCustomerId, options ListByCustomerOperationOptions) (ListByCustomerCompleteResult, error)
ListByCustomerComplete retrieves all the results into a single object
func (TransactionClient) ListByCustomerCompleteMatchingPredicate ¶
func (c TransactionClient) ListByCustomerCompleteMatchingPredicate(ctx context.Context, id BillingProfileCustomerId, options ListByCustomerOperationOptions, predicate TransactionOperationPredicate) (result ListByCustomerCompleteResult, err error)
ListByCustomerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TransactionClient) ListByInvoice ¶
func (c TransactionClient) ListByInvoice(ctx context.Context, id BillingAccountInvoiceId, options ListByInvoiceOperationOptions) (result ListByInvoiceOperationResponse, err error)
ListByInvoice ...
func (TransactionClient) ListByInvoiceComplete ¶
func (c TransactionClient) ListByInvoiceComplete(ctx context.Context, id BillingAccountInvoiceId, options ListByInvoiceOperationOptions) (ListByInvoiceCompleteResult, error)
ListByInvoiceComplete retrieves all the results into a single object
func (TransactionClient) ListByInvoiceCompleteMatchingPredicate ¶
func (c TransactionClient) ListByInvoiceCompleteMatchingPredicate(ctx context.Context, id BillingAccountInvoiceId, options ListByInvoiceOperationOptions, predicate TransactionOperationPredicate) (result ListByInvoiceCompleteResult, err error)
ListByInvoiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TransactionClient) ListByInvoiceSection ¶
func (c TransactionClient) ListByInvoiceSection(ctx context.Context, id InvoiceSectionId, options ListByInvoiceSectionOperationOptions) (result ListByInvoiceSectionOperationResponse, err error)
ListByInvoiceSection ...
func (TransactionClient) ListByInvoiceSectionComplete ¶
func (c TransactionClient) ListByInvoiceSectionComplete(ctx context.Context, id InvoiceSectionId, options ListByInvoiceSectionOperationOptions) (ListByInvoiceSectionCompleteResult, error)
ListByInvoiceSectionComplete retrieves all the results into a single object
func (TransactionClient) ListByInvoiceSectionCompleteMatchingPredicate ¶
func (c TransactionClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, options ListByInvoiceSectionOperationOptions, predicate TransactionOperationPredicate) (result ListByInvoiceSectionCompleteResult, err error)
ListByInvoiceSectionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TransactionClient) TransactionsDownloadByInvoice ¶
func (c TransactionClient) TransactionsDownloadByInvoice(ctx context.Context, id BillingAccountInvoiceId) (result TransactionsDownloadByInvoiceOperationResponse, err error)
TransactionsDownloadByInvoice ...
func (TransactionClient) TransactionsDownloadByInvoiceThenPoll ¶
func (c TransactionClient) TransactionsDownloadByInvoiceThenPoll(ctx context.Context, id BillingAccountInvoiceId) error
TransactionsDownloadByInvoiceThenPoll performs TransactionsDownloadByInvoice then polls until it's completed
type TransactionKind ¶
type TransactionKind string
const ( TransactionKindAll TransactionKind = "All" TransactionKindOther TransactionKind = "Other" TransactionKindReservation TransactionKind = "Reservation" )
func (*TransactionKind) UnmarshalJSON ¶
func (s *TransactionKind) UnmarshalJSON(bytes []byte) error
type TransactionOperationPredicate ¶
func (TransactionOperationPredicate) Matches ¶
func (p TransactionOperationPredicate) Matches(input Transaction) bool
type TransactionProperties ¶
type TransactionProperties struct { AzureCreditApplied *Amount `json:"azureCreditApplied,omitempty"` AzurePlan *string `json:"azurePlan,omitempty"` BillingCurrency *string `json:"billingCurrency,omitempty"` BillingProfileDisplayName *interface{} `json:"billingProfileDisplayName,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` ConsumptionCommitmentDecremented *Amount `json:"consumptionCommitmentDecremented,omitempty"` CreditType *CreditType `json:"creditType,omitempty"` CustomerDisplayName *string `json:"customerDisplayName,omitempty"` CustomerId *string `json:"customerId,omitempty"` Date *string `json:"date,omitempty"` Discount *float64 `json:"discount,omitempty"` EffectivePrice *Amount `json:"effectivePrice,omitempty"` ExchangeRate *float64 `json:"exchangeRate,omitempty"` Invoice *string `json:"invoice,omitempty"` InvoiceId *string `json:"invoiceId,omitempty"` InvoiceSectionDisplayName *string `json:"invoiceSectionDisplayName,omitempty"` InvoiceSectionId *string `json:"invoiceSectionId,omitempty"` IsThirdParty *bool `json:"isThirdParty,omitempty"` Kind *TransactionKind `json:"kind,omitempty"` MarketPrice *Amount `json:"marketPrice,omitempty"` PartNumber *string `json:"partNumber,omitempty"` PricingCurrency *string `json:"pricingCurrency,omitempty"` ProductDescription *string `json:"productDescription,omitempty"` ProductFamily *string `json:"productFamily,omitempty"` ProductType *string `json:"productType,omitempty"` ProductTypeId *string `json:"productTypeId,omitempty"` Quantity *int64 `json:"quantity,omitempty"` ReasonCode *string `json:"reasonCode,omitempty"` RefundTransactionDetails *RefundTransactionDetails `json:"refundTransactionDetails,omitempty"` ServicePeriodEndDate *string `json:"servicePeriodEndDate,omitempty"` ServicePeriodStartDate *string `json:"servicePeriodStartDate,omitempty"` SpecialTaxationType *SpecialTaxationType `json:"specialTaxationType,omitempty"` SubTotal *Amount `json:"subTotal,omitempty"` Tax *Amount `json:"tax,omitempty"` TransactionAmount *Amount `json:"transactionAmount,omitempty"` TransactionType *string `json:"transactionType,omitempty"` UnitOfMeasure *string `json:"unitOfMeasure,omitempty"` UnitType *string `json:"unitType,omitempty"` Units *float64 `json:"units,omitempty"` }
func (*TransactionProperties) GetDateAsTime ¶
func (o *TransactionProperties) GetDateAsTime() (*time.Time, error)
func (*TransactionProperties) GetServicePeriodEndDateAsTime ¶
func (o *TransactionProperties) GetServicePeriodEndDateAsTime() (*time.Time, error)
func (*TransactionProperties) GetServicePeriodStartDateAsTime ¶
func (o *TransactionProperties) GetServicePeriodStartDateAsTime() (*time.Time, error)
func (*TransactionProperties) SetDateAsTime ¶
func (o *TransactionProperties) SetDateAsTime(input time.Time)
func (*TransactionProperties) SetServicePeriodEndDateAsTime ¶
func (o *TransactionProperties) SetServicePeriodEndDateAsTime(input time.Time)
func (*TransactionProperties) SetServicePeriodStartDateAsTime ¶
func (o *TransactionProperties) SetServicePeriodStartDateAsTime(input time.Time)
type TransactionSummary ¶
type TransactionSummary struct { AzureCreditApplied *float64 `json:"azureCreditApplied,omitempty"` BillingCurrency *string `json:"billingCurrency,omitempty"` ConsumptionCommitmentDecremented *float64 `json:"consumptionCommitmentDecremented,omitempty"` SubTotal *float64 `json:"subTotal,omitempty"` Tax *float64 `json:"tax,omitempty"` Total *float64 `json:"total,omitempty"` }
type TransactionType ¶
type TransactionType string
const ( TransactionTypeBilled TransactionType = "Billed" TransactionTypeOther TransactionType = "Other" TransactionTypeUnbilled TransactionType = "Unbilled" )
func (*TransactionType) UnmarshalJSON ¶
func (s *TransactionType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_billingaccountinvoice.go
- id_billingprofile.go
- id_billingprofilecustomer.go
- id_invoicesection.go
- method_gettransactionsummarybyinvoice.go
- method_listbybillingprofile.go
- method_listbycustomer.go
- method_listbyinvoice.go
- method_listbyinvoicesection.go
- method_transactionsdownloadbyinvoice.go
- model_amount.go
- model_documentdownloadresult.go
- model_refundtransactiondetails.go
- model_transaction.go
- model_transactionproperties.go
- model_transactionsummary.go
- predicates.go
- version.go