Documentation ¶
Index ¶
- func PossibleValuesForLotSource() []string
- type Amount
- type AmountWithExchangeRate
- type ListCompleteResult
- type ListOperationResponse
- type LotProperties
- type LotSource
- type LotSummary
- type LotSummaryOperationPredicate
- type LotsClient
- func (c LotsClient) List(ctx context.Context, id commonids.ScopeId) (resp ListOperationResponse, err error)
- func (c LotsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c LotsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (resp ListCompleteResult, err error)
- type Reseller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLotSource ¶
func PossibleValuesForLotSource() []string
Types ¶
type AmountWithExchangeRate ¶
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []LotSummary
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]LotSummary // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type LotProperties ¶
type LotProperties struct { BillingCurrency *string `json:"billingCurrency,omitempty"` ClosedBalance *Amount `json:"closedBalance,omitempty"` ClosedBalanceInBillingCurrency *AmountWithExchangeRate `json:"closedBalanceInBillingCurrency,omitempty"` CreditCurrency *string `json:"creditCurrency,omitempty"` ExpirationDate *string `json:"expirationDate,omitempty"` OriginalAmount *Amount `json:"originalAmount,omitempty"` OriginalAmountInBillingCurrency *AmountWithExchangeRate `json:"originalAmountInBillingCurrency,omitempty"` PoNumber *string `json:"poNumber,omitempty"` Reseller *Reseller `json:"reseller,omitempty"` Source *LotSource `json:"source,omitempty"` StartDate *string `json:"startDate,omitempty"` }
func (*LotProperties) GetExpirationDateAsTime ¶
func (o *LotProperties) GetExpirationDateAsTime() (*time.Time, error)
func (*LotProperties) GetStartDateAsTime ¶
func (o *LotProperties) GetStartDateAsTime() (*time.Time, error)
func (*LotProperties) SetExpirationDateAsTime ¶
func (o *LotProperties) SetExpirationDateAsTime(input time.Time)
func (*LotProperties) SetStartDateAsTime ¶
func (o *LotProperties) SetStartDateAsTime(input time.Time)
type LotSummary ¶
type LotSummary struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *LotProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type LotSummaryOperationPredicate ¶
func (LotSummaryOperationPredicate) Matches ¶
func (p LotSummaryOperationPredicate) Matches(input LotSummary) bool
type LotsClient ¶
func NewLotsClientWithBaseURI ¶
func NewLotsClientWithBaseURI(endpoint string) LotsClient
func (LotsClient) List ¶
func (c LotsClient) List(ctx context.Context, id commonids.ScopeId) (resp ListOperationResponse, err error)
List ...
func (LotsClient) ListComplete ¶
func (c LotsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (LotsClient) ListCompleteMatchingPredicate ¶
func (c LotsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate LotSummaryOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
Click to show internal directories.
Click to hide internal directories.