Documentation ¶
Index ¶
- func PossibleValuesForPaymentMethodFamily() []string
- func PossibleValuesForPaymentMethodStatus() []string
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingAccountPaymentMethodID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePaymentMethodID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePaymentMethodLinkID(input interface{}, key string) (warnings []string, errors []error)
- type BillingAccountId
- type BillingAccountPaymentMethodId
- func NewBillingAccountPaymentMethodID(billingAccountName string, paymentMethodName string) BillingAccountPaymentMethodId
- func ParseBillingAccountPaymentMethodID(input string) (*BillingAccountPaymentMethodId, error)
- func ParseBillingAccountPaymentMethodIDInsensitively(input string) (*BillingAccountPaymentMethodId, error)
- type BillingProfileId
- type DeleteAtBillingProfileOperationResponse
- type DeleteByUserOperationResponse
- type GetByBillingAccountOperationResponse
- type GetByBillingProfileOperationResponse
- type GetByUserOperationResponse
- type ListByBillingAccountCompleteResult
- type ListByBillingAccountOperationResponse
- type ListByBillingProfileCompleteResult
- type ListByBillingProfileOperationResponse
- type ListByUserCompleteResult
- type ListByUserOperationResponse
- type PaymentMethod
- type PaymentMethodFamily
- type PaymentMethodId
- type PaymentMethodLink
- type PaymentMethodLinkId
- type PaymentMethodLinkOperationPredicate
- type PaymentMethodLinkProperties
- type PaymentMethodLogo
- type PaymentMethodOperationPredicate
- type PaymentMethodProjectionProperties
- type PaymentMethodProperties
- type PaymentMethodStatus
- type PaymentMethodsClient
- func (c PaymentMethodsClient) DeleteAtBillingProfile(ctx context.Context, id PaymentMethodLinkId) (result DeleteAtBillingProfileOperationResponse, err error)
- func (c PaymentMethodsClient) DeleteAtBillingProfileThenPoll(ctx context.Context, id PaymentMethodLinkId) error
- func (c PaymentMethodsClient) DeleteByUser(ctx context.Context, id PaymentMethodId) (result DeleteByUserOperationResponse, err error)
- func (c PaymentMethodsClient) GetByBillingAccount(ctx context.Context, id BillingAccountPaymentMethodId) (result GetByBillingAccountOperationResponse, err error)
- func (c PaymentMethodsClient) GetByBillingProfile(ctx context.Context, id PaymentMethodLinkId) (result GetByBillingProfileOperationResponse, err error)
- func (c PaymentMethodsClient) GetByUser(ctx context.Context, id PaymentMethodId) (result GetByUserOperationResponse, err error)
- func (c PaymentMethodsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId) (result ListByBillingAccountOperationResponse, err error)
- func (c PaymentMethodsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId) (ListByBillingAccountCompleteResult, error)
- func (c PaymentMethodsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error)
- func (c PaymentMethodsClient) ListByBillingProfile(ctx context.Context, id BillingProfileId) (result ListByBillingProfileOperationResponse, err error)
- func (c PaymentMethodsClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId) (ListByBillingProfileCompleteResult, error)
- func (c PaymentMethodsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error)
- func (c PaymentMethodsClient) ListByUser(ctx context.Context) (result ListByUserOperationResponse, err error)
- func (c PaymentMethodsClient) ListByUserComplete(ctx context.Context) (ListByUserCompleteResult, error)
- func (c PaymentMethodsClient) ListByUserCompleteMatchingPredicate(ctx context.Context, predicate PaymentMethodOperationPredicate) (result ListByUserCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPaymentMethodFamily ¶
func PossibleValuesForPaymentMethodFamily() []string
func PossibleValuesForPaymentMethodStatus ¶
func PossibleValuesForPaymentMethodStatus() []string
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
func ValidateBillingAccountPaymentMethodID ¶
func ValidateBillingAccountPaymentMethodID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingAccountPaymentMethodID checks that 'input' can be parsed as a Billing Account Payment Method ID
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidatePaymentMethodID ¶
ValidatePaymentMethodID checks that 'input' can be parsed as a Payment Method ID
func ValidatePaymentMethodLinkID ¶
ValidatePaymentMethodLinkID checks that 'input' can be parsed as a Payment Method Link ID
Types ¶
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 BillingAccountPaymentMethodId ¶
BillingAccountPaymentMethodId is a struct representing the Resource ID for a Billing Account Payment Method
func NewBillingAccountPaymentMethodID ¶
func NewBillingAccountPaymentMethodID(billingAccountName string, paymentMethodName string) BillingAccountPaymentMethodId
NewBillingAccountPaymentMethodID returns a new BillingAccountPaymentMethodId struct
func ParseBillingAccountPaymentMethodID ¶
func ParseBillingAccountPaymentMethodID(input string) (*BillingAccountPaymentMethodId, error)
ParseBillingAccountPaymentMethodID parses 'input' into a BillingAccountPaymentMethodId
func ParseBillingAccountPaymentMethodIDInsensitively ¶
func ParseBillingAccountPaymentMethodIDInsensitively(input string) (*BillingAccountPaymentMethodId, error)
ParseBillingAccountPaymentMethodIDInsensitively parses 'input' case-insensitively into a BillingAccountPaymentMethodId note: this method should only be used for API response data and not user input
func (*BillingAccountPaymentMethodId) FromParseResult ¶
func (id *BillingAccountPaymentMethodId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountPaymentMethodId) ID ¶
func (id BillingAccountPaymentMethodId) ID() string
ID returns the formatted Billing Account Payment Method ID
func (BillingAccountPaymentMethodId) Segments ¶
func (id BillingAccountPaymentMethodId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account Payment Method ID
func (BillingAccountPaymentMethodId) String ¶
func (id BillingAccountPaymentMethodId) String() string
String returns a human-readable description of this Billing Account Payment Method 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 GetByBillingAccountOperationResponse ¶
type GetByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PaymentMethod }
type GetByBillingProfileOperationResponse ¶
type GetByBillingProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PaymentMethodLink }
type GetByUserOperationResponse ¶
type GetByUserOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PaymentMethod }
type ListByBillingAccountCompleteResult ¶
type ListByBillingAccountCompleteResult struct { LatestHttpResponse *http.Response Items []PaymentMethod }
type ListByBillingAccountOperationResponse ¶
type ListByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PaymentMethod }
type ListByBillingProfileCompleteResult ¶
type ListByBillingProfileCompleteResult struct { LatestHttpResponse *http.Response Items []PaymentMethodLink }
type ListByBillingProfileOperationResponse ¶
type ListByBillingProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PaymentMethodLink }
type ListByUserCompleteResult ¶
type ListByUserCompleteResult struct { LatestHttpResponse *http.Response Items []PaymentMethod }
type ListByUserOperationResponse ¶
type ListByUserOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PaymentMethod }
type PaymentMethod ¶
type PaymentMethod struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PaymentMethodProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PaymentMethodFamily ¶
type PaymentMethodFamily string
const ( PaymentMethodFamilyCheckWire PaymentMethodFamily = "CheckWire" PaymentMethodFamilyCreditCard PaymentMethodFamily = "CreditCard" )
func (*PaymentMethodFamily) UnmarshalJSON ¶
func (s *PaymentMethodFamily) UnmarshalJSON(bytes []byte) error
type PaymentMethodId ¶
type PaymentMethodId struct {
PaymentMethodName string
}
PaymentMethodId is a struct representing the Resource ID for a Payment Method
func NewPaymentMethodID ¶
func NewPaymentMethodID(paymentMethodName string) PaymentMethodId
NewPaymentMethodID returns a new PaymentMethodId struct
func ParsePaymentMethodID ¶
func ParsePaymentMethodID(input string) (*PaymentMethodId, error)
ParsePaymentMethodID parses 'input' into a PaymentMethodId
func ParsePaymentMethodIDInsensitively ¶
func ParsePaymentMethodIDInsensitively(input string) (*PaymentMethodId, error)
ParsePaymentMethodIDInsensitively parses 'input' case-insensitively into a PaymentMethodId note: this method should only be used for API response data and not user input
func (*PaymentMethodId) FromParseResult ¶
func (id *PaymentMethodId) FromParseResult(input resourceids.ParseResult) error
func (PaymentMethodId) ID ¶
func (id PaymentMethodId) ID() string
ID returns the formatted Payment Method ID
func (PaymentMethodId) Segments ¶
func (id PaymentMethodId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Payment Method ID
func (PaymentMethodId) String ¶
func (id PaymentMethodId) String() string
String returns a human-readable description of this Payment Method ID
type PaymentMethodLink ¶
type PaymentMethodLink struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PaymentMethodLinkProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PaymentMethodLinkId ¶
type PaymentMethodLinkId struct { BillingAccountName string BillingProfileName string PaymentMethodLinkName string }
PaymentMethodLinkId is a struct representing the Resource ID for a Payment Method Link
func NewPaymentMethodLinkID ¶
func NewPaymentMethodLinkID(billingAccountName string, billingProfileName string, paymentMethodLinkName string) PaymentMethodLinkId
NewPaymentMethodLinkID returns a new PaymentMethodLinkId struct
func ParsePaymentMethodLinkID ¶
func ParsePaymentMethodLinkID(input string) (*PaymentMethodLinkId, error)
ParsePaymentMethodLinkID parses 'input' into a PaymentMethodLinkId
func ParsePaymentMethodLinkIDInsensitively ¶
func ParsePaymentMethodLinkIDInsensitively(input string) (*PaymentMethodLinkId, error)
ParsePaymentMethodLinkIDInsensitively parses 'input' case-insensitively into a PaymentMethodLinkId note: this method should only be used for API response data and not user input
func (*PaymentMethodLinkId) FromParseResult ¶
func (id *PaymentMethodLinkId) FromParseResult(input resourceids.ParseResult) error
func (PaymentMethodLinkId) ID ¶
func (id PaymentMethodLinkId) ID() string
ID returns the formatted Payment Method Link ID
func (PaymentMethodLinkId) Segments ¶
func (id PaymentMethodLinkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Payment Method Link ID
func (PaymentMethodLinkId) String ¶
func (id PaymentMethodLinkId) String() string
String returns a human-readable description of this Payment Method Link ID
type PaymentMethodLinkOperationPredicate ¶
func (PaymentMethodLinkOperationPredicate) Matches ¶
func (p PaymentMethodLinkOperationPredicate) Matches(input PaymentMethodLink) bool
type PaymentMethodLinkProperties ¶
type PaymentMethodLinkProperties struct {
PaymentMethod *PaymentMethodProjectionProperties `json:"paymentMethod,omitempty"`
}
type PaymentMethodLogo ¶
type PaymentMethodOperationPredicate ¶
func (PaymentMethodOperationPredicate) Matches ¶
func (p PaymentMethodOperationPredicate) Matches(input PaymentMethod) bool
type PaymentMethodProjectionProperties ¶
type PaymentMethodProjectionProperties struct { AccountHolderName *string `json:"accountHolderName,omitempty"` DisplayName *string `json:"displayName,omitempty"` Expiration *string `json:"expiration,omitempty"` Family *PaymentMethodFamily `json:"family,omitempty"` Id *string `json:"id,omitempty"` LastFourDigits *string `json:"lastFourDigits,omitempty"` Logos *[]PaymentMethodLogo `json:"logos,omitempty"` Status *PaymentMethodStatus `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
type PaymentMethodProperties ¶
type PaymentMethodProperties struct { AccountHolderName *string `json:"accountHolderName,omitempty"` DisplayName *string `json:"displayName,omitempty"` Expiration *string `json:"expiration,omitempty"` Family *PaymentMethodFamily `json:"family,omitempty"` LastFourDigits *string `json:"lastFourDigits,omitempty"` Logos *[]PaymentMethodLogo `json:"logos,omitempty"` Status *PaymentMethodStatus `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
type PaymentMethodStatus ¶
type PaymentMethodStatus string
const ( PaymentMethodStatusActive PaymentMethodStatus = "active" PaymentMethodStatusInactive PaymentMethodStatus = "inactive" )
func (*PaymentMethodStatus) UnmarshalJSON ¶
func (s *PaymentMethodStatus) UnmarshalJSON(bytes []byte) error
type PaymentMethodsClient ¶
type PaymentMethodsClient struct {
Client *resourcemanager.Client
}
func NewPaymentMethodsClientWithBaseURI ¶
func NewPaymentMethodsClientWithBaseURI(sdkApi sdkEnv.Api) (*PaymentMethodsClient, error)
func (PaymentMethodsClient) DeleteAtBillingProfile ¶
func (c PaymentMethodsClient) DeleteAtBillingProfile(ctx context.Context, id PaymentMethodLinkId) (result DeleteAtBillingProfileOperationResponse, err error)
DeleteAtBillingProfile ...
func (PaymentMethodsClient) DeleteAtBillingProfileThenPoll ¶
func (c PaymentMethodsClient) DeleteAtBillingProfileThenPoll(ctx context.Context, id PaymentMethodLinkId) error
DeleteAtBillingProfileThenPoll performs DeleteAtBillingProfile then polls until it's completed
func (PaymentMethodsClient) DeleteByUser ¶
func (c PaymentMethodsClient) DeleteByUser(ctx context.Context, id PaymentMethodId) (result DeleteByUserOperationResponse, err error)
DeleteByUser ...
func (PaymentMethodsClient) GetByBillingAccount ¶
func (c PaymentMethodsClient) GetByBillingAccount(ctx context.Context, id BillingAccountPaymentMethodId) (result GetByBillingAccountOperationResponse, err error)
GetByBillingAccount ...
func (PaymentMethodsClient) GetByBillingProfile ¶
func (c PaymentMethodsClient) GetByBillingProfile(ctx context.Context, id PaymentMethodLinkId) (result GetByBillingProfileOperationResponse, err error)
GetByBillingProfile ...
func (PaymentMethodsClient) GetByUser ¶
func (c PaymentMethodsClient) GetByUser(ctx context.Context, id PaymentMethodId) (result GetByUserOperationResponse, err error)
GetByUser ...
func (PaymentMethodsClient) ListByBillingAccount ¶
func (c PaymentMethodsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId) (result ListByBillingAccountOperationResponse, err error)
ListByBillingAccount ...
func (PaymentMethodsClient) ListByBillingAccountComplete ¶
func (c PaymentMethodsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId) (ListByBillingAccountCompleteResult, error)
ListByBillingAccountComplete retrieves all the results into a single object
func (PaymentMethodsClient) ListByBillingAccountCompleteMatchingPredicate ¶
func (c PaymentMethodsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, predicate PaymentMethodOperationPredicate) (result ListByBillingAccountCompleteResult, err error)
ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PaymentMethodsClient) ListByBillingProfile ¶
func (c PaymentMethodsClient) ListByBillingProfile(ctx context.Context, id BillingProfileId) (result ListByBillingProfileOperationResponse, err error)
ListByBillingProfile ...
func (PaymentMethodsClient) ListByBillingProfileComplete ¶
func (c PaymentMethodsClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId) (ListByBillingProfileCompleteResult, error)
ListByBillingProfileComplete retrieves all the results into a single object
func (PaymentMethodsClient) ListByBillingProfileCompleteMatchingPredicate ¶
func (c PaymentMethodsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, predicate PaymentMethodLinkOperationPredicate) (result ListByBillingProfileCompleteResult, err error)
ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PaymentMethodsClient) ListByUser ¶
func (c PaymentMethodsClient) ListByUser(ctx context.Context) (result ListByUserOperationResponse, err error)
ListByUser ...
func (PaymentMethodsClient) ListByUserComplete ¶
func (c PaymentMethodsClient) ListByUserComplete(ctx context.Context) (ListByUserCompleteResult, error)
ListByUserComplete retrieves all the results into a single object
func (PaymentMethodsClient) ListByUserCompleteMatchingPredicate ¶
func (c PaymentMethodsClient) ListByUserCompleteMatchingPredicate(ctx context.Context, predicate PaymentMethodOperationPredicate) (result ListByUserCompleteResult, err error)
ListByUserCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_billingaccountpaymentmethod.go
- id_billingprofile.go
- id_paymentmethod.go
- id_paymentmethodlink.go
- method_deleteatbillingprofile.go
- method_deletebyuser.go
- method_getbybillingaccount.go
- method_getbybillingprofile.go
- method_getbyuser.go
- method_listbybillingaccount.go
- method_listbybillingprofile.go
- method_listbyuser.go
- model_paymentmethod.go
- model_paymentmethodlink.go
- model_paymentmethodlinkproperties.go
- model_paymentmethodlogo.go
- model_paymentmethodprojectionproperties.go
- model_paymentmethodproperties.go
- predicates.go
- version.go