Documentation ¶
Index ¶
- func PossibleValuesForAccountStatus() []string
- func PossibleValuesForAccountSubType() []string
- func PossibleValuesForAccountType() []string
- func PossibleValuesForAddressValidationStatus() []string
- func PossibleValuesForAgreementType() []string
- func PossibleValuesForBillingAccountStatusReasonCode() []string
- func PossibleValuesForBillingProfileStatus() []string
- func PossibleValuesForBillingProfileStatusReasonCode() []string
- func PossibleValuesForBillingRelationshipType() []string
- func PossibleValuesForExtendedTermOption() []string
- func PossibleValuesForMarkupStatus() []string
- func PossibleValuesForPaymentTermsEligibilityCode() []string
- func PossibleValuesForPaymentTermsEligibilityStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSpendingLimit() []string
- func PossibleValuesForSupportLevel() []string
- func PossibleValuesForTaxIdentifierStatus() []string
- func PossibleValuesForTaxIdentifierType() []string
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AccountStatus
- type AccountSubType
- type AccountType
- type AddPaymentTermsOperationResponse
- type AddressDetails
- type AddressValidateOperationResponse
- type AddressValidationResponse
- type AddressValidationStatus
- type AgreementType
- type AzurePlan
- type BillingAccount
- type BillingAccountClient
- func (c BillingAccountClient) AddPaymentTerms(ctx context.Context, id BillingAccountId, input []PaymentTerm) (result AddPaymentTermsOperationResponse, err error)
- func (c BillingAccountClient) AddPaymentTermsThenPoll(ctx context.Context, id BillingAccountId, input []PaymentTerm) error
- func (c BillingAccountClient) AddressValidate(ctx context.Context, input AddressDetails) (result AddressValidateOperationResponse, err error)
- func (c BillingAccountClient) CancelPaymentTerms(ctx context.Context, id BillingAccountId, input string) (result CancelPaymentTermsOperationResponse, err error)
- func (c BillingAccountClient) CancelPaymentTermsThenPoll(ctx context.Context, id BillingAccountId, input string) error
- func (c BillingAccountClient) ConfirmTransition(ctx context.Context, id BillingAccountId) (result ConfirmTransitionOperationResponse, err error)
- func (c BillingAccountClient) Get(ctx context.Context, id BillingAccountId) (result GetOperationResponse, err error)
- func (c BillingAccountClient) List(ctx context.Context, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c BillingAccountClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
- func (c BillingAccountClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c BillingAccountClient) ListInvoiceSectionsByCreateSubscriptionPermission(ctx context.Context, id BillingAccountId, ...) (result ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse, ...)
- func (c BillingAccountClient) ListInvoiceSectionsByCreateSubscriptionPermissionComplete(ctx context.Context, id BillingAccountId, ...) (ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult, error)
- func (c BillingAccountClient) ListInvoiceSectionsByCreateSubscriptionPermissionCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult, ...)
- func (c BillingAccountClient) Update(ctx context.Context, id BillingAccountId, input BillingAccountPatch) (result UpdateOperationResponse, err error)
- func (c BillingAccountClient) UpdateThenPoll(ctx context.Context, id BillingAccountId, input BillingAccountPatch) error
- func (c BillingAccountClient) ValidatePaymentTerms(ctx context.Context, id BillingAccountId, input []PaymentTerm) (result ValidatePaymentTermsOperationResponse, err error)
- type BillingAccountId
- type BillingAccountOperationPredicate
- type BillingAccountPatch
- type BillingAccountProperties
- type BillingAccountStatusReasonCode
- type BillingProfileStatus
- type BillingProfileStatusReasonCode
- type BillingRelationshipType
- type CancelPaymentTermsOperationResponse
- type ConfirmTransitionOperationResponse
- type EnrollmentDetails
- type ExtendedTermOption
- type GetOperationResponse
- type IndirectRelationshipInfo
- type InvoiceSectionWithCreateSubPermission
- type InvoiceSectionWithCreateSubPermissionOperationPredicate
- type ListCompleteResult
- type ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult
- type ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions
- func (o ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) ToHeaders() *client.Headers
- func (o ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) ToOData() *odata.Query
- func (o ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) ToQuery() *client.QueryParams
- type ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type MarkupStatus
- type PaymentTerm
- type PaymentTermsEligibilityCode
- type PaymentTermsEligibilityDetail
- type PaymentTermsEligibilityResult
- type PaymentTermsEligibilityStatus
- type ProvisioningState
- type RegistrationNumber
- type SpendingLimit
- type SupportLevel
- type TaxIdentifier
- type TaxIdentifierStatus
- type TaxIdentifierType
- type TransitionDetails
- type UpdateOperationResponse
- type ValidatePaymentTermsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccountStatus ¶
func PossibleValuesForAccountStatus() []string
func PossibleValuesForAccountSubType ¶
func PossibleValuesForAccountSubType() []string
func PossibleValuesForAccountType ¶
func PossibleValuesForAccountType() []string
func PossibleValuesForAddressValidationStatus ¶
func PossibleValuesForAddressValidationStatus() []string
func PossibleValuesForAgreementType ¶
func PossibleValuesForAgreementType() []string
func PossibleValuesForBillingAccountStatusReasonCode ¶
func PossibleValuesForBillingAccountStatusReasonCode() []string
func PossibleValuesForBillingProfileStatus ¶
func PossibleValuesForBillingProfileStatus() []string
func PossibleValuesForBillingProfileStatusReasonCode ¶
func PossibleValuesForBillingProfileStatusReasonCode() []string
func PossibleValuesForBillingRelationshipType ¶
func PossibleValuesForBillingRelationshipType() []string
func PossibleValuesForExtendedTermOption ¶
func PossibleValuesForExtendedTermOption() []string
func PossibleValuesForMarkupStatus ¶
func PossibleValuesForMarkupStatus() []string
func PossibleValuesForPaymentTermsEligibilityCode ¶
func PossibleValuesForPaymentTermsEligibilityCode() []string
func PossibleValuesForPaymentTermsEligibilityStatus ¶
func PossibleValuesForPaymentTermsEligibilityStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSpendingLimit ¶
func PossibleValuesForSpendingLimit() []string
func PossibleValuesForSupportLevel ¶
func PossibleValuesForSupportLevel() []string
func PossibleValuesForTaxIdentifierStatus ¶
func PossibleValuesForTaxIdentifierStatus() []string
func PossibleValuesForTaxIdentifierType ¶
func PossibleValuesForTaxIdentifierType() []string
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
Types ¶
type AccountStatus ¶
type AccountStatus string
const ( AccountStatusActive AccountStatus = "Active" AccountStatusDeleted AccountStatus = "Deleted" AccountStatusDisabled AccountStatus = "Disabled" AccountStatusExpired AccountStatus = "Expired" AccountStatusExtended AccountStatus = "Extended" AccountStatusNew AccountStatus = "New" AccountStatusOther AccountStatus = "Other" AccountStatusPending AccountStatus = "Pending" AccountStatusTerminated AccountStatus = "Terminated" AccountStatusTransferred AccountStatus = "Transferred" AccountStatusUnderReview AccountStatus = "UnderReview" )
func (*AccountStatus) UnmarshalJSON ¶
func (s *AccountStatus) UnmarshalJSON(bytes []byte) error
type AccountSubType ¶
type AccountSubType string
const ( AccountSubTypeEnterprise AccountSubType = "Enterprise" AccountSubTypeIndividual AccountSubType = "Individual" AccountSubTypeNone AccountSubType = "None" AccountSubTypeOther AccountSubType = "Other" AccountSubTypeProfessional AccountSubType = "Professional" )
func (*AccountSubType) UnmarshalJSON ¶
func (s *AccountSubType) UnmarshalJSON(bytes []byte) error
type AccountType ¶
type AccountType string
const ( AccountTypeBusiness AccountType = "Business" AccountTypeClassicPartner AccountType = "ClassicPartner" AccountTypeEnterprise AccountType = "Enterprise" AccountTypeIndividual AccountType = "Individual" AccountTypeInternal AccountType = "Internal" AccountTypeOther AccountType = "Other" AccountTypePartner AccountType = "Partner" AccountTypeReseller AccountType = "Reseller" AccountTypeTenant AccountType = "Tenant" )
func (*AccountType) UnmarshalJSON ¶
func (s *AccountType) UnmarshalJSON(bytes []byte) error
type AddressDetails ¶
type AddressDetails struct { AddressLine1 string `json:"addressLine1"` AddressLine2 *string `json:"addressLine2,omitempty"` AddressLine3 *string `json:"addressLine3,omitempty"` City *string `json:"city,omitempty"` CompanyName *string `json:"companyName,omitempty"` Country string `json:"country"` District *string `json:"district,omitempty"` Email *string `json:"email,omitempty"` FirstName *string `json:"firstName,omitempty"` IsValidAddress *bool `json:"isValidAddress,omitempty"` LastName *string `json:"lastName,omitempty"` MiddleName *string `json:"middleName,omitempty"` PhoneNumber *string `json:"phoneNumber,omitempty"` PostalCode *string `json:"postalCode,omitempty"` Region *string `json:"region,omitempty"` }
type AddressValidateOperationResponse ¶
type AddressValidateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AddressValidationResponse }
type AddressValidationResponse ¶
type AddressValidationResponse struct { Status *AddressValidationStatus `json:"status,omitempty"` SuggestedAddresses *[]AddressDetails `json:"suggestedAddresses,omitempty"` ValidationMessage *string `json:"validationMessage,omitempty"` }
type AddressValidationStatus ¶
type AddressValidationStatus string
const ( AddressValidationStatusInvalid AddressValidationStatus = "Invalid" AddressValidationStatusOther AddressValidationStatus = "Other" AddressValidationStatusValid AddressValidationStatus = "Valid" )
func (*AddressValidationStatus) UnmarshalJSON ¶
func (s *AddressValidationStatus) UnmarshalJSON(bytes []byte) error
type AgreementType ¶
type AgreementType string
const ( AgreementTypeEnterpriseAgreement AgreementType = "EnterpriseAgreement" AgreementTypeMicrosoftCustomerAgreement AgreementType = "MicrosoftCustomerAgreement" AgreementTypeMicrosoftOnlineServicesProgram AgreementType = "MicrosoftOnlineServicesProgram" AgreementTypeMicrosoftPartnerAgreement AgreementType = "MicrosoftPartnerAgreement" AgreementTypeOther AgreementType = "Other" )
func (*AgreementType) UnmarshalJSON ¶
func (s *AgreementType) UnmarshalJSON(bytes []byte) error
type BillingAccount ¶
type BillingAccount struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingAccountProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BillingAccountClient ¶
type BillingAccountClient struct {
Client *resourcemanager.Client
}
func NewBillingAccountClientWithBaseURI ¶
func NewBillingAccountClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingAccountClient, error)
func (BillingAccountClient) AddPaymentTerms ¶
func (c BillingAccountClient) AddPaymentTerms(ctx context.Context, id BillingAccountId, input []PaymentTerm) (result AddPaymentTermsOperationResponse, err error)
AddPaymentTerms ...
func (BillingAccountClient) AddPaymentTermsThenPoll ¶
func (c BillingAccountClient) AddPaymentTermsThenPoll(ctx context.Context, id BillingAccountId, input []PaymentTerm) error
AddPaymentTermsThenPoll performs AddPaymentTerms then polls until it's completed
func (BillingAccountClient) AddressValidate ¶
func (c BillingAccountClient) AddressValidate(ctx context.Context, input AddressDetails) (result AddressValidateOperationResponse, err error)
AddressValidate ...
func (BillingAccountClient) CancelPaymentTerms ¶
func (c BillingAccountClient) CancelPaymentTerms(ctx context.Context, id BillingAccountId, input string) (result CancelPaymentTermsOperationResponse, err error)
CancelPaymentTerms ...
func (BillingAccountClient) CancelPaymentTermsThenPoll ¶
func (c BillingAccountClient) CancelPaymentTermsThenPoll(ctx context.Context, id BillingAccountId, input string) error
CancelPaymentTermsThenPoll performs CancelPaymentTerms then polls until it's completed
func (BillingAccountClient) ConfirmTransition ¶
func (c BillingAccountClient) ConfirmTransition(ctx context.Context, id BillingAccountId) (result ConfirmTransitionOperationResponse, err error)
ConfirmTransition ...
func (BillingAccountClient) Get ¶
func (c BillingAccountClient) Get(ctx context.Context, id BillingAccountId) (result GetOperationResponse, err error)
Get ...
func (BillingAccountClient) List ¶
func (c BillingAccountClient) List(ctx context.Context, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (BillingAccountClient) ListComplete ¶
func (c BillingAccountClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BillingAccountClient) ListCompleteMatchingPredicate ¶
func (c BillingAccountClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, predicate BillingAccountOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingAccountClient) ListInvoiceSectionsByCreateSubscriptionPermission ¶
func (c BillingAccountClient) ListInvoiceSectionsByCreateSubscriptionPermission(ctx context.Context, id BillingAccountId, options ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) (result ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse, err error)
ListInvoiceSectionsByCreateSubscriptionPermission ...
func (BillingAccountClient) ListInvoiceSectionsByCreateSubscriptionPermissionComplete ¶
func (c BillingAccountClient) ListInvoiceSectionsByCreateSubscriptionPermissionComplete(ctx context.Context, id BillingAccountId, options ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) (ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult, error)
ListInvoiceSectionsByCreateSubscriptionPermissionComplete retrieves all the results into a single object
func (BillingAccountClient) ListInvoiceSectionsByCreateSubscriptionPermissionCompleteMatchingPredicate ¶
func (c BillingAccountClient) ListInvoiceSectionsByCreateSubscriptionPermissionCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions, predicate InvoiceSectionWithCreateSubPermissionOperationPredicate) (result ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult, err error)
ListInvoiceSectionsByCreateSubscriptionPermissionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingAccountClient) Update ¶
func (c BillingAccountClient) Update(ctx context.Context, id BillingAccountId, input BillingAccountPatch) (result UpdateOperationResponse, err error)
Update ...
func (BillingAccountClient) UpdateThenPoll ¶
func (c BillingAccountClient) UpdateThenPoll(ctx context.Context, id BillingAccountId, input BillingAccountPatch) error
UpdateThenPoll performs Update then polls until it's completed
func (BillingAccountClient) ValidatePaymentTerms ¶
func (c BillingAccountClient) ValidatePaymentTerms(ctx context.Context, id BillingAccountId, input []PaymentTerm) (result ValidatePaymentTermsOperationResponse, err error)
ValidatePaymentTerms ...
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 BillingAccountOperationPredicate ¶
func (BillingAccountOperationPredicate) Matches ¶
func (p BillingAccountOperationPredicate) Matches(input BillingAccount) bool
type BillingAccountPatch ¶
type BillingAccountPatch struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingAccountProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BillingAccountProperties ¶
type BillingAccountProperties struct { AccountStatus *AccountStatus `json:"accountStatus,omitempty"` AccountStatusReasonCode *BillingAccountStatusReasonCode `json:"accountStatusReasonCode,omitempty"` AccountSubType *AccountSubType `json:"accountSubType,omitempty"` AccountType *AccountType `json:"accountType,omitempty"` AgreementType *AgreementType `json:"agreementType,omitempty"` BillingRelationshipTypes *[]BillingRelationshipType `json:"billingRelationshipTypes,omitempty"` DisplayName *string `json:"displayName,omitempty"` EnrollmentDetails *EnrollmentDetails `json:"enrollmentDetails,omitempty"` HasNoBillingProfiles *bool `json:"hasNoBillingProfiles,omitempty"` HasReadAccess *bool `json:"hasReadAccess,omitempty"` NotificationEmailAddress *string `json:"notificationEmailAddress,omitempty"` PrimaryBillingTenantId *string `json:"primaryBillingTenantId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Qualifications *[]string `json:"qualifications,omitempty"` RegistrationNumber *RegistrationNumber `json:"registrationNumber,omitempty"` SoldTo *AddressDetails `json:"soldTo,omitempty"` TaxIds *[]TaxIdentifier `json:"taxIds,omitempty"` }
type BillingAccountStatusReasonCode ¶
type BillingAccountStatusReasonCode string
const ( BillingAccountStatusReasonCodeExpired BillingAccountStatusReasonCode = "Expired" BillingAccountStatusReasonCodeManuallyTerminated BillingAccountStatusReasonCode = "ManuallyTerminated" BillingAccountStatusReasonCodeOther BillingAccountStatusReasonCode = "Other" BillingAccountStatusReasonCodeTerminateProcessing BillingAccountStatusReasonCode = "TerminateProcessing" BillingAccountStatusReasonCodeTransferred BillingAccountStatusReasonCode = "Transferred" BillingAccountStatusReasonCodeUnusualActivity BillingAccountStatusReasonCode = "UnusualActivity" )
func (*BillingAccountStatusReasonCode) UnmarshalJSON ¶
func (s *BillingAccountStatusReasonCode) UnmarshalJSON(bytes []byte) error
type BillingProfileStatus ¶
type BillingProfileStatus string
const ( BillingProfileStatusActive BillingProfileStatus = "Active" BillingProfileStatusDeleted BillingProfileStatus = "Deleted" BillingProfileStatusDisabled BillingProfileStatus = "Disabled" BillingProfileStatusOther BillingProfileStatus = "Other" BillingProfileStatusUnderReview BillingProfileStatus = "UnderReview" BillingProfileStatusWarned BillingProfileStatus = "Warned" )
func (*BillingProfileStatus) UnmarshalJSON ¶
func (s *BillingProfileStatus) UnmarshalJSON(bytes []byte) error
type BillingProfileStatusReasonCode ¶
type BillingProfileStatusReasonCode string
const ( BillingProfileStatusReasonCodeOther BillingProfileStatusReasonCode = "Other" BillingProfileStatusReasonCodePastDue BillingProfileStatusReasonCode = "PastDue" BillingProfileStatusReasonCodeSpendingLimitExpired BillingProfileStatusReasonCode = "SpendingLimitExpired" BillingProfileStatusReasonCodeSpendingLimitReached BillingProfileStatusReasonCode = "SpendingLimitReached" BillingProfileStatusReasonCodeUnusualActivity BillingProfileStatusReasonCode = "UnusualActivity" )
func (*BillingProfileStatusReasonCode) UnmarshalJSON ¶
func (s *BillingProfileStatusReasonCode) UnmarshalJSON(bytes []byte) error
type BillingRelationshipType ¶
type BillingRelationshipType string
const ( BillingRelationshipTypeCSPCustomer BillingRelationshipType = "CSPCustomer" BillingRelationshipTypeCSPPartner BillingRelationshipType = "CSPPartner" BillingRelationshipTypeDirect BillingRelationshipType = "Direct" BillingRelationshipTypeIndirectCustomer BillingRelationshipType = "IndirectCustomer" BillingRelationshipTypeIndirectPartner BillingRelationshipType = "IndirectPartner" BillingRelationshipTypeOther BillingRelationshipType = "Other" )
func (*BillingRelationshipType) UnmarshalJSON ¶
func (s *BillingRelationshipType) UnmarshalJSON(bytes []byte) error
type ConfirmTransitionOperationResponse ¶
type ConfirmTransitionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TransitionDetails }
type EnrollmentDetails ¶
type EnrollmentDetails struct { BillingCycle *string `json:"billingCycle,omitempty"` Channel *string `json:"channel,omitempty"` Cloud *string `json:"cloud,omitempty"` CountryCode *string `json:"countryCode,omitempty"` Currency *string `json:"currency,omitempty"` EndDate *string `json:"endDate,omitempty"` ExtendedTermOption *ExtendedTermOption `json:"extendedTermOption,omitempty"` IndirectRelationshipInfo *IndirectRelationshipInfo `json:"indirectRelationshipInfo,omitempty"` InvoiceRecipient *string `json:"invoiceRecipient,omitempty"` Language *string `json:"language,omitempty"` MarkupStatus *MarkupStatus `json:"markupStatus,omitempty"` PoNumber *string `json:"poNumber,omitempty"` StartDate *string `json:"startDate,omitempty"` SupportCoverage *string `json:"supportCoverage,omitempty"` SupportLevel *SupportLevel `json:"supportLevel,omitempty"` }
func (*EnrollmentDetails) GetEndDateAsTime ¶
func (o *EnrollmentDetails) GetEndDateAsTime() (*time.Time, error)
func (*EnrollmentDetails) GetStartDateAsTime ¶
func (o *EnrollmentDetails) GetStartDateAsTime() (*time.Time, error)
func (*EnrollmentDetails) SetEndDateAsTime ¶
func (o *EnrollmentDetails) SetEndDateAsTime(input time.Time)
func (*EnrollmentDetails) SetStartDateAsTime ¶
func (o *EnrollmentDetails) SetStartDateAsTime(input time.Time)
type ExtendedTermOption ¶
type ExtendedTermOption string
const ( ExtendedTermOptionOptedNegativeIn ExtendedTermOption = "Opted-In" ExtendedTermOptionOptedNegativeOut ExtendedTermOption = "Opted-Out" ExtendedTermOptionOther ExtendedTermOption = "Other" )
func (*ExtendedTermOption) UnmarshalJSON ¶
func (s *ExtendedTermOption) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BillingAccount }
type InvoiceSectionWithCreateSubPermission ¶
type InvoiceSectionWithCreateSubPermission struct { BillingProfileDisplayName *string `json:"billingProfileDisplayName,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` BillingProfileSpendingLimit *SpendingLimit `json:"billingProfileSpendingLimit,omitempty"` BillingProfileStatus *BillingProfileStatus `json:"billingProfileStatus,omitempty"` BillingProfileStatusReasonCode *BillingProfileStatusReasonCode `json:"billingProfileStatusReasonCode,omitempty"` BillingProfileSystemId *string `json:"billingProfileSystemId,omitempty"` EnabledAzurePlans *[]AzurePlan `json:"enabledAzurePlans,omitempty"` InvoiceSectionDisplayName *string `json:"invoiceSectionDisplayName,omitempty"` InvoiceSectionId *string `json:"invoiceSectionId,omitempty"` InvoiceSectionSystemId *string `json:"invoiceSectionSystemId,omitempty"` }
type InvoiceSectionWithCreateSubPermissionOperationPredicate ¶
type InvoiceSectionWithCreateSubPermissionOperationPredicate struct { BillingProfileDisplayName *string BillingProfileId *string BillingProfileSystemId *string InvoiceSectionDisplayName *string InvoiceSectionId *string InvoiceSectionSystemId *string }
func (InvoiceSectionWithCreateSubPermissionOperationPredicate) Matches ¶
func (p InvoiceSectionWithCreateSubPermissionOperationPredicate) Matches(input InvoiceSectionWithCreateSubPermission) bool
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BillingAccount }
type ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult ¶
type ListInvoiceSectionsByCreateSubscriptionPermissionCompleteResult struct { LatestHttpResponse *http.Response Items []InvoiceSectionWithCreateSubPermission }
type ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions ¶
type ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions struct {
Filter *string
}
func DefaultListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions ¶
func DefaultListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions() ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions
func (ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) ToHeaders ¶
func (o ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) ToHeaders() *client.Headers
func (ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) ToOData ¶
func (o ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) ToOData() *odata.Query
func (ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) ToQuery ¶
func (o ListInvoiceSectionsByCreateSubscriptionPermissionOperationOptions) ToQuery() *client.QueryParams
type ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse ¶
type ListInvoiceSectionsByCreateSubscriptionPermissionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]InvoiceSectionWithCreateSubPermission }
type ListOperationOptions ¶
type ListOperationOptions struct { Expand *string Filter *string IncludeAll *bool IncludeAllWithoutBillingProfiles *bool IncludeDeleted *bool IncludePendingAgreement *bool IncludeResellee *bool LegalOwnerOID *string LegalOwnerTID *string Search *string Skip *int64 Top *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingAccount }
type MarkupStatus ¶
type MarkupStatus string
const ( MarkupStatusDisabled MarkupStatus = "Disabled" MarkupStatusLocked MarkupStatus = "Locked" MarkupStatusOther MarkupStatus = "Other" MarkupStatusPreview MarkupStatus = "Preview" MarkupStatusPublished MarkupStatus = "Published" )
func (*MarkupStatus) UnmarshalJSON ¶
func (s *MarkupStatus) UnmarshalJSON(bytes []byte) error
type PaymentTerm ¶
type PaymentTerm struct { EndDate *string `json:"endDate,omitempty"` IsDefault *bool `json:"isDefault,omitempty"` StartDate *string `json:"startDate,omitempty"` Term *string `json:"term,omitempty"` }
func (*PaymentTerm) GetEndDateAsTime ¶
func (o *PaymentTerm) GetEndDateAsTime() (*time.Time, error)
func (*PaymentTerm) GetStartDateAsTime ¶
func (o *PaymentTerm) GetStartDateAsTime() (*time.Time, error)
func (*PaymentTerm) SetEndDateAsTime ¶
func (o *PaymentTerm) SetEndDateAsTime(input time.Time)
func (*PaymentTerm) SetStartDateAsTime ¶
func (o *PaymentTerm) SetStartDateAsTime(input time.Time)
type PaymentTermsEligibilityCode ¶
type PaymentTermsEligibilityCode string
const ( PaymentTermsEligibilityCodeBillingAccountNotFound PaymentTermsEligibilityCode = "BillingAccountNotFound" PaymentTermsEligibilityCodeInactiveBillingAccount PaymentTermsEligibilityCode = "InactiveBillingAccount" PaymentTermsEligibilityCodeIneligibleBillingAccountStatus PaymentTermsEligibilityCode = "IneligibleBillingAccountStatus" PaymentTermsEligibilityCodeInvalidBillingAccountType PaymentTermsEligibilityCode = "InvalidBillingAccountType" PaymentTermsEligibilityCodeInvalidDateFormat PaymentTermsEligibilityCode = "InvalidDateFormat" PaymentTermsEligibilityCodeInvalidDateRange PaymentTermsEligibilityCode = "InvalidDateRange" PaymentTermsEligibilityCodeInvalidTerms PaymentTermsEligibilityCode = "InvalidTerms" PaymentTermsEligibilityCodeNullOrEmptyPaymentTerms PaymentTermsEligibilityCode = "NullOrEmptyPaymentTerms" PaymentTermsEligibilityCodeOther PaymentTermsEligibilityCode = "Other" PaymentTermsEligibilityCodeOverlappingPaymentTerms PaymentTermsEligibilityCode = "OverlappingPaymentTerms" )
func (*PaymentTermsEligibilityCode) UnmarshalJSON ¶
func (s *PaymentTermsEligibilityCode) UnmarshalJSON(bytes []byte) error
type PaymentTermsEligibilityDetail ¶
type PaymentTermsEligibilityDetail struct { Code *PaymentTermsEligibilityCode `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
type PaymentTermsEligibilityResult ¶
type PaymentTermsEligibilityResult struct { EligibilityDetails *[]PaymentTermsEligibilityDetail `json:"eligibilityDetails,omitempty"` EligibilityStatus *PaymentTermsEligibilityStatus `json:"eligibilityStatus,omitempty"` }
type PaymentTermsEligibilityStatus ¶
type PaymentTermsEligibilityStatus string
const ( PaymentTermsEligibilityStatusInvalid PaymentTermsEligibilityStatus = "Invalid" PaymentTermsEligibilityStatusOther PaymentTermsEligibilityStatus = "Other" PaymentTermsEligibilityStatusValid PaymentTermsEligibilityStatus = "Valid" )
func (*PaymentTermsEligibilityStatus) UnmarshalJSON ¶
func (s *PaymentTermsEligibilityStatus) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNew ProvisioningState = "New" ProvisioningStatePending ProvisioningState = "Pending" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RegistrationNumber ¶
type SpendingLimit ¶
type SpendingLimit string
const ( SpendingLimitOff SpendingLimit = "Off" SpendingLimitOn SpendingLimit = "On" )
func (*SpendingLimit) UnmarshalJSON ¶
func (s *SpendingLimit) UnmarshalJSON(bytes []byte) error
type SupportLevel ¶
type SupportLevel string
const ( SupportLevelDeveloper SupportLevel = "Developer" SupportLevelOther SupportLevel = "Other" SupportLevelProNegativeDirect SupportLevel = "Pro-Direct" SupportLevelStandard SupportLevel = "Standard" )
func (*SupportLevel) UnmarshalJSON ¶
func (s *SupportLevel) UnmarshalJSON(bytes []byte) error
type TaxIdentifier ¶
type TaxIdentifier struct { Country *string `json:"country,omitempty"` Id *string `json:"id,omitempty"` Scope *string `json:"scope,omitempty"` Status *TaxIdentifierStatus `json:"status,omitempty"` Type *TaxIdentifierType `json:"type,omitempty"` }
type TaxIdentifierStatus ¶
type TaxIdentifierStatus string
const ( TaxIdentifierStatusInvalid TaxIdentifierStatus = "Invalid" TaxIdentifierStatusOther TaxIdentifierStatus = "Other" TaxIdentifierStatusValid TaxIdentifierStatus = "Valid" )
func (*TaxIdentifierStatus) UnmarshalJSON ¶
func (s *TaxIdentifierStatus) UnmarshalJSON(bytes []byte) error
type TaxIdentifierType ¶
type TaxIdentifierType string
const ( TaxIdentifierTypeBrazilCcmId TaxIdentifierType = "BrazilCcmId" TaxIdentifierTypeBrazilCnpjId TaxIdentifierType = "BrazilCnpjId" TaxIdentifierTypeBrazilCpfId TaxIdentifierType = "BrazilCpfId" TaxIdentifierTypeCanadianFederalExempt TaxIdentifierType = "CanadianFederalExempt" TaxIdentifierTypeCanadianProvinceExempt TaxIdentifierType = "CanadianProvinceExempt" TaxIdentifierTypeExternalTaxation TaxIdentifierType = "ExternalTaxation" TaxIdentifierTypeIndiaFederalServiceTaxId TaxIdentifierType = "IndiaFederalServiceTaxId" TaxIdentifierTypeIndiaFederalTanId TaxIdentifierType = "IndiaFederalTanId" TaxIdentifierTypeIndiaPanId TaxIdentifierType = "IndiaPanId" TaxIdentifierTypeIndiaStateCstId TaxIdentifierType = "IndiaStateCstId" TaxIdentifierTypeIndiaStateGstINId TaxIdentifierType = "IndiaStateGstINId" TaxIdentifierTypeIndiaStateVatId TaxIdentifierType = "IndiaStateVatId" TaxIdentifierTypeIntlExempt TaxIdentifierType = "IntlExempt" TaxIdentifierTypeLoveCode TaxIdentifierType = "LoveCode" TaxIdentifierTypeMobileBarCode TaxIdentifierType = "MobileBarCode" TaxIdentifierTypeNationalIdentificationNumber TaxIdentifierType = "NationalIdentificationNumber" TaxIdentifierTypeOther TaxIdentifierType = "Other" TaxIdentifierTypePublicSectorId TaxIdentifierType = "PublicSectorId" TaxIdentifierTypeUSExempt TaxIdentifierType = "USExempt" TaxIdentifierTypeVatId TaxIdentifierType = "VatId" )
func (*TaxIdentifierType) UnmarshalJSON ¶
func (s *TaxIdentifierType) UnmarshalJSON(bytes []byte) error
type TransitionDetails ¶
type TransitionDetails struct { AnniversaryDay *int64 `json:"anniversaryDay,omitempty"` TransitionDate *string `json:"transitionDate,omitempty"` }
func (*TransitionDetails) GetTransitionDateAsTime ¶
func (o *TransitionDetails) GetTransitionDateAsTime() (*time.Time, error)
func (*TransitionDetails) SetTransitionDateAsTime ¶
func (o *TransitionDetails) SetTransitionDateAsTime(input time.Time)
type UpdateOperationResponse ¶
type ValidatePaymentTermsOperationResponse ¶
type ValidatePaymentTermsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PaymentTermsEligibilityResult }
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- method_addpaymentterms.go
- method_addressvalidate.go
- method_cancelpaymentterms.go
- method_confirmtransition.go
- method_get.go
- method_list.go
- method_listinvoicesectionsbycreatesubscriptionpermission.go
- method_update.go
- method_validatepaymentterms.go
- model_addressdetails.go
- model_addressvalidationresponse.go
- model_azureplan.go
- model_billingaccount.go
- model_billingaccountpatch.go
- model_billingaccountproperties.go
- model_enrollmentdetails.go
- model_indirectrelationshipinfo.go
- model_invoicesectionwithcreatesubpermission.go
- model_paymentterm.go
- model_paymenttermseligibilitydetail.go
- model_paymenttermseligibilityresult.go
- model_registrationnumber.go
- model_taxidentifier.go
- model_transitiondetails.go
- predicates.go
- version.go