Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 struct + Currency *string + Value *float64 + type BillingAccountInvoiceId struct + BillingAccountName string + InvoiceName string + func NewBillingAccountInvoiceID(billingAccountName string, invoiceName string) BillingAccountInvoiceId + func ParseBillingAccountInvoiceID(input string) (*BillingAccountInvoiceId, error) + func ParseBillingAccountInvoiceIDInsensitively(input string) (*BillingAccountInvoiceId, error) + func (id *BillingAccountInvoiceId) FromParseResult(input resourceids.ParseResult) error + func (id BillingAccountInvoiceId) ID() string + func (id BillingAccountInvoiceId) Segments() []resourceids.Segment + func (id BillingAccountInvoiceId) String() string + type BillingProfileCustomerId struct + BillingAccountName string + BillingProfileName string + CustomerName string + func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId + func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error) + func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error) + func (id *BillingProfileCustomerId) FromParseResult(input resourceids.ParseResult) error + func (id BillingProfileCustomerId) ID() string + func (id BillingProfileCustomerId) Segments() []resourceids.Segment + func (id BillingProfileCustomerId) String() string + type BillingProfileId struct + BillingAccountName string + BillingProfileName string + func NewBillingProfileID(billingAccountName string, billingProfileName string) BillingProfileId + func ParseBillingProfileID(input string) (*BillingProfileId, error) + func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error) + func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error + func (id BillingProfileId) ID() string + func (id BillingProfileId) Segments() []resourceids.Segment + func (id BillingProfileId) String() string + type CreditType string + const CreditTypeAzureCreditOffer + const CreditTypeAzureFreeCredit + const CreditTypeOther + const CreditTypeRefund + const CreditTypeServiceInterruption + func (s *CreditType) UnmarshalJSON(bytes []byte) error + type DocumentDownloadResult struct + ExpiryTime *string + Url *string + type GetTransactionSummaryByInvoiceOperationOptions struct + Filter *string + Search *string + func DefaultGetTransactionSummaryByInvoiceOperationOptions() GetTransactionSummaryByInvoiceOperationOptions + func (o GetTransactionSummaryByInvoiceOperationOptions) ToHeaders() *client.Headers + func (o GetTransactionSummaryByInvoiceOperationOptions) ToOData() *odata.Query + func (o GetTransactionSummaryByInvoiceOperationOptions) ToQuery() *client.QueryParams + type GetTransactionSummaryByInvoiceOperationResponse struct + HttpResponse *http.Response + Model *TransactionSummary + OData *odata.OData + type InvoiceSectionId struct + BillingAccountName string + BillingProfileName string + InvoiceSectionName string + func NewInvoiceSectionID(billingAccountName string, billingProfileName string, ...) InvoiceSectionId + func ParseInvoiceSectionID(input string) (*InvoiceSectionId, error) + func ParseInvoiceSectionIDInsensitively(input string) (*InvoiceSectionId, error) + func (id *InvoiceSectionId) FromParseResult(input resourceids.ParseResult) error + func (id InvoiceSectionId) ID() string + func (id InvoiceSectionId) Segments() []resourceids.Segment + func (id InvoiceSectionId) String() string + type ListByBillingProfileCompleteResult struct + Items []Transaction + LatestHttpResponse *http.Response + type ListByBillingProfileCustomPager struct + NextLink *odata.Link + func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link + type ListByBillingProfileOperationOptions struct + Count *bool + Filter *string + OrderBy *string + PeriodEndDate *string + PeriodStartDate *string + Search *string + Skip *int64 + Top *int64 + Type *TransactionType + func DefaultListByBillingProfileOperationOptions() ListByBillingProfileOperationOptions + func (o ListByBillingProfileOperationOptions) ToHeaders() *client.Headers + func (o ListByBillingProfileOperationOptions) ToOData() *odata.Query + func (o ListByBillingProfileOperationOptions) ToQuery() *client.QueryParams + type ListByBillingProfileOperationResponse struct + HttpResponse *http.Response + Model *[]Transaction + OData *odata.OData + type ListByCustomerCompleteResult struct + Items []Transaction + LatestHttpResponse *http.Response + type ListByCustomerCustomPager struct + NextLink *odata.Link + func (p *ListByCustomerCustomPager) NextPageLink() *odata.Link + type ListByCustomerOperationOptions struct + Count *bool + Filter *string + OrderBy *string + PeriodEndDate *string + PeriodStartDate *string + Search *string + Skip *int64 + Top *int64 + Type *TransactionType + func DefaultListByCustomerOperationOptions() ListByCustomerOperationOptions + func (o ListByCustomerOperationOptions) ToHeaders() *client.Headers + func (o ListByCustomerOperationOptions) ToOData() *odata.Query + func (o ListByCustomerOperationOptions) ToQuery() *client.QueryParams + type ListByCustomerOperationResponse struct + HttpResponse *http.Response + Model *[]Transaction + OData *odata.OData + type ListByInvoiceCompleteResult struct + Items []Transaction + LatestHttpResponse *http.Response + type ListByInvoiceCustomPager struct + NextLink *odata.Link + func (p *ListByInvoiceCustomPager) NextPageLink() *odata.Link + type ListByInvoiceOperationOptions struct + Count *bool + Filter *string + OrderBy *string + Search *string + Skip *int64 + Top *int64 + func DefaultListByInvoiceOperationOptions() ListByInvoiceOperationOptions + func (o ListByInvoiceOperationOptions) ToHeaders() *client.Headers + func (o ListByInvoiceOperationOptions) ToOData() *odata.Query + func (o ListByInvoiceOperationOptions) ToQuery() *client.QueryParams + type ListByInvoiceOperationResponse struct + HttpResponse *http.Response + Model *[]Transaction + OData *odata.OData + type ListByInvoiceSectionCompleteResult struct + Items []Transaction + LatestHttpResponse *http.Response + type ListByInvoiceSectionCustomPager struct + NextLink *odata.Link + func (p *ListByInvoiceSectionCustomPager) NextPageLink() *odata.Link + type ListByInvoiceSectionOperationOptions struct + Count *bool + Filter *string + OrderBy *string + PeriodEndDate *string + PeriodStartDate *string + Search *string + Skip *int64 + Top *int64 + Type *TransactionType + func DefaultListByInvoiceSectionOperationOptions() ListByInvoiceSectionOperationOptions + func (o ListByInvoiceSectionOperationOptions) ToHeaders() *client.Headers + func (o ListByInvoiceSectionOperationOptions) ToOData() *odata.Query + func (o ListByInvoiceSectionOperationOptions) ToQuery() *client.QueryParams + type ListByInvoiceSectionOperationResponse struct + HttpResponse *http.Response + Model *[]Transaction + OData *odata.OData + type RefundTransactionDetails struct + AmountRefunded *Amount + AmountRequested *Amount + RefundOperationId *string + type SpecialTaxationType string + const SpecialTaxationTypeInvoiceLevel + const SpecialTaxationTypeSubtotalLevel + func (s *SpecialTaxationType) UnmarshalJSON(bytes []byte) error + type Transaction struct + Id *string + Name *string + Properties *TransactionProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type TransactionClient struct + Client *resourcemanager.Client + func NewTransactionClientWithBaseURI(sdkApi sdkEnv.Api) (*TransactionClient, error) + 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 string + const TransactionKindAll + const TransactionKindOther + const TransactionKindReservation + func (s *TransactionKind) UnmarshalJSON(bytes []byte) error + type TransactionOperationPredicate struct + Id *string + Name *string + Type *string + func (p TransactionOperationPredicate) Matches(input Transaction) bool + type TransactionProperties struct + AzureCreditApplied *Amount + AzurePlan *string + BillingCurrency *string + BillingProfileDisplayName *interface{} + BillingProfileId *string + ConsumptionCommitmentDecremented *Amount + CreditType *CreditType + CustomerDisplayName *string + CustomerId *string + Date *string + Discount *float64 + EffectivePrice *Amount + ExchangeRate *float64 + Invoice *string + InvoiceId *string + InvoiceSectionDisplayName *string + InvoiceSectionId *string + IsThirdParty *bool + Kind *TransactionKind + MarketPrice *Amount + PartNumber *string + PricingCurrency *string + ProductDescription *string + ProductFamily *string + ProductType *string + ProductTypeId *string + Quantity *int64 + ReasonCode *string + RefundTransactionDetails *RefundTransactionDetails + ServicePeriodEndDate *string + ServicePeriodStartDate *string + SpecialTaxationType *SpecialTaxationType + SubTotal *Amount + Tax *Amount + TransactionAmount *Amount + TransactionType *string + UnitOfMeasure *string + UnitType *string + Units *float64 + 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 struct + AzureCreditApplied *float64 + BillingCurrency *string + ConsumptionCommitmentDecremented *float64 + SubTotal *float64 + Tax *float64 + Total *float64 + type TransactionType string + const TransactionTypeBilled + const TransactionTypeOther + const TransactionTypeUnbilled + func (s *TransactionType) UnmarshalJSON(bytes []byte) error + type TransactionsDownloadByInvoiceOperationResponse struct + HttpResponse *http.Response + Model *DocumentDownloadResult + OData *odata.OData + Poller pollers.Poller