Documentation ¶
Index ¶
- type SUBSCRIPTIONS
- type SUBSCRIPTIONS_IMPL
- func (me *SUBSCRIPTIONS_IMPL) CancelSubscription(subscriptionId string, idempotencyKey *string, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) CreateAnUsage(subscriptionId string, itemId string, idempotencyKey *string) (*models_pkg.SubscriptionsItemsUsagesResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) CreateDiscount(subscriptionId string, body *models_pkg.SubscriptionsDiscountsRequest, ...) (*models_pkg.SubscriptionsDiscountsResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) CreateIncrement(subscriptionId string, body *models_pkg.SubscriptionsIncrementsRequest, ...) (*models_pkg.SubscriptionsIncrementsResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) CreateSubscription(body *models_pkg.SubscriptionsRequest1, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) CreateSubscriptionItem(subscriptionId string, body *models_pkg.SubscriptionsItemsRequest1, ...) (*models_pkg.GetSubscriptionItemResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) DeleteDiscount(subscriptionId string, discountId string, idempotencyKey *string) (*models_pkg.SubscriptionsDiscountsResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) DeleteIncrement(subscriptionId string, incrementId string, idempotencyKey *string) (*models_pkg.SubscriptionsIncrementsResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) DeleteSubscriptionItem(subscriptionId string, subscriptionItemId string, idempotencyKey *string) (*models_pkg.GetSubscriptionItemResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) DeleteUsage(subscriptionId string, itemId string, usageId string, idempotencyKey *string) (*models_pkg.SubscriptionsItemsUsagesUsageIdResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetDiscountById(subscriptionId string, discountId string) (*models_pkg.SubscriptionsDiscountsResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetDiscounts(subscriptionId string, page int64, size int64) (*models_pkg.ListDiscountsResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetIncrementById(subscriptionId string, incrementId string) (*models_pkg.SubscriptionsIncrementsResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetIncrements(subscriptionId string, page *int64, size *int64) (*models_pkg.ListIncrementsResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetSubscription(subscriptionId string) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetSubscriptionCycleById(subscriptionId string, cycleId string) (*models_pkg.SubscriptionsCyclesResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetSubscriptionCycles(subscriptionId string, page string, size string) (*models_pkg.SubscriptionsCyclesResponse2, error)
- func (me *SUBSCRIPTIONS_IMPL) GetSubscriptionItem(subscriptionId string, itemId string) (*models_pkg.GetSubscriptionItemResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetSubscriptionItems(subscriptionId string, page *int64, size *int64, name *string, code *string, ...) (*models_pkg.SubscriptionsItemsResponse3, error)
- func (me *SUBSCRIPTIONS_IMPL) GetSubscriptions(page *int64, size *int64, code *string, billingType *string, ...) (*models_pkg.SubscriptionsResponse3, error)
- func (me *SUBSCRIPTIONS_IMPL) GetUsageReport(subscriptionId string, periodId string) (*models_pkg.GetUsageReportResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetUsages(subscriptionId string, itemId string, page *int64, size *int64, code *string, ...) (*models_pkg.SubscriptionsItemsUsagesResponse1, error)
- func (me *SUBSCRIPTIONS_IMPL) GetUsagesDetails(subscriptionId string, cycleId *string, size *int64, page *int64, ...) (*models_pkg.GetUsagesDetailsResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) RenewSubscription(subscriptionId string, idempotencyKey *string) (*models_pkg.SubscriptionsCyclesResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateCurrentCycleStatus(subscriptionId string, body *models_pkg.UpdateCurrentCycleStatusRequest, ...) error
- func (me *SUBSCRIPTIONS_IMPL) UpdateLatestPeriodEndAt(subscriptionId string, body *models_pkg.SubscriptionsPeriodsLatestEndAtRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSplitSubscription(id string, body *models_pkg.UpdateSubscriptionSplitRequest) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionAffiliationId(subscriptionId string, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionBillingDate(subscriptionId string, body *models_pkg.SubscriptionsBillingDateRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionCard(subscriptionId string, body *models_pkg.SubscriptionsCardRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionDueDays(subscriptionId string, body *models_pkg.UpdateSubscriptionDueDaysRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionItem(subscriptionId string, itemId string, ...) (*models_pkg.GetSubscriptionItemResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionMetadata(subscriptionId string, body *models_pkg.SubscriptionsMetadataRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionMiniumPrice(subscriptionId string, body *models_pkg.SubscriptionsMinimumPriceRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionPaymentMethod(subscriptionId string, body *models_pkg.SubscriptionsPaymentMethodRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionStartAt(subscriptionId string, body *models_pkg.SubscriptionsStartAtRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SUBSCRIPTIONS ¶
type SUBSCRIPTIONS interface { CreateDiscount(string, *models_pkg.SubscriptionsDiscountsRequest, *string) (*models_pkg.SubscriptionsDiscountsResponse, error) GetSubscriptionItem(string, string) (*models_pkg.GetSubscriptionItemResponse, error) UpdateSubscriptionItem(string, string, *models_pkg.SubscriptionsItemsRequest, *string) (*models_pkg.GetSubscriptionItemResponse, error) DeleteUsage(string, string, string, *string) (*models_pkg.SubscriptionsItemsUsagesUsageIdResponse, error) CancelSubscription(string, *string, *models_pkg.SubscriptionsRequest) (*models_pkg.GetSubscriptionResponse, error) GetSubscription(string) (*models_pkg.GetSubscriptionResponse, error) DeleteIncrement(string, string, *string) (*models_pkg.SubscriptionsIncrementsResponse, error) GetIncrementById(string, string) (*models_pkg.SubscriptionsIncrementsResponse, error) GetSubscriptionCycleById(string, string) (*models_pkg.SubscriptionsCyclesResponse, error) UpdateSubscriptionStartAt(string, *models_pkg.SubscriptionsStartAtRequest, *string) (*models_pkg.GetSubscriptionResponse, error) UpdateSubscriptionPaymentMethod(string, *models_pkg.SubscriptionsPaymentMethodRequest, *string) (*models_pkg.GetSubscriptionResponse, error) UpdateCurrentCycleStatus(string, *models_pkg.UpdateCurrentCycleStatusRequest, *string) error CreateSubscription(*models_pkg.SubscriptionsRequest1, *string) (*models_pkg.GetSubscriptionResponse, error) GetSubscriptions(*int64, *int64, *string, *string, *string, *string, *string, *string, *time.Time, *time.Time, *time.Time, *time.Time) (*models_pkg.SubscriptionsResponse3, error) GetUsagesDetails(string, *string, *int64, *int64, *string, *string) (*models_pkg.GetUsagesDetailsResponse, error) RenewSubscription(string, *string) (*models_pkg.SubscriptionsCyclesResponse, error) GetSubscriptionCycles(string, string, string) (*models_pkg.SubscriptionsCyclesResponse2, error) CreateAnUsage(string, string, *string) (*models_pkg.SubscriptionsItemsUsagesResponse, error) GetUsages(string, string, *int64, *int64, *string, *string, *time.Time, *time.Time) (*models_pkg.SubscriptionsItemsUsagesResponse1, error) DeleteDiscount(string, string, *string) (*models_pkg.SubscriptionsDiscountsResponse, error) GetIncrements(string, *int64, *int64) (*models_pkg.ListIncrementsResponse, error) CreateSubscriptionItem(string, *models_pkg.SubscriptionsItemsRequest1, *string) (*models_pkg.GetSubscriptionItemResponse, error) GetSubscriptionItems(string, *int64, *int64, *string, *string, *string, *string, *string, *string) (*models_pkg.SubscriptionsItemsResponse3, error) UpdateSubscriptionBillingDate(string, *models_pkg.SubscriptionsBillingDateRequest, *string) (*models_pkg.GetSubscriptionResponse, error) UpdateLatestPeriodEndAt(string, *models_pkg.SubscriptionsPeriodsLatestEndAtRequest, *string) (*models_pkg.GetSubscriptionResponse, error) UpdateSubscriptionAffiliationId(string, *models_pkg.SubscriptionsGatewayAffiliationIdRequest, *string) (*models_pkg.GetSubscriptionResponse, error) DeleteSubscriptionItem(string, string, *string) (*models_pkg.GetSubscriptionItemResponse, error) UpdateSubscriptionCard(string, *models_pkg.SubscriptionsCardRequest, *string) (*models_pkg.GetSubscriptionResponse, error) UpdateSubscriptionMetadata(string, *models_pkg.SubscriptionsMetadataRequest, *string) (*models_pkg.GetSubscriptionResponse, error) UpdateSubscriptionDueDays(string, *models_pkg.UpdateSubscriptionDueDaysRequest, *string) (*models_pkg.GetSubscriptionResponse, error) GetDiscounts(string, int64, int64) (*models_pkg.ListDiscountsResponse, error) CreateIncrement(string, *models_pkg.SubscriptionsIncrementsRequest, *string) (*models_pkg.SubscriptionsIncrementsResponse, error) GetDiscountById(string, string) (*models_pkg.SubscriptionsDiscountsResponse, error) UpdateSubscriptionMiniumPrice(string, *models_pkg.SubscriptionsMinimumPriceRequest, *string) (*models_pkg.GetSubscriptionResponse, error) GetUsageReport(string, string) (*models_pkg.GetUsageReportResponse, error) UpdateSplitSubscription(string, *models_pkg.UpdateSubscriptionSplitRequest) (*models_pkg.GetSubscriptionResponse, error) }
* Interface for the SUBSCRIPTIONS_IMPL
type SUBSCRIPTIONS_IMPL ¶
type SUBSCRIPTIONS_IMPL struct {
// contains filtered or unexported fields
}
* Client structure as interface implementation
func NewSUBSCRIPTIONS ¶
func NewSUBSCRIPTIONS(config configuration_pkg.CONFIGURATION) *SUBSCRIPTIONS_IMPL
* Factory for the SUBSCRIPTIONS interaface returning SUBSCRIPTIONS_IMPL
func (*SUBSCRIPTIONS_IMPL) CancelSubscription ¶
func (me *SUBSCRIPTIONS_IMPL) CancelSubscription( subscriptionId string, idempotencyKey *string, body *models_pkg.SubscriptionsRequest) (*models_pkg.GetSubscriptionResponse, error)
*
- Cancels a subscription
- @param string subscriptionId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @param *models_pkg.SubscriptionsRequest body parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) CreateAnUsage ¶
func (me *SUBSCRIPTIONS_IMPL) CreateAnUsage( subscriptionId string, itemId string, idempotencyKey *string) (*models_pkg.SubscriptionsItemsUsagesResponse, error)
*
- Create Usage
- @param string subscriptionId parameter: Required
- @param string itemId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.SubscriptionsItemsUsagesResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) CreateDiscount ¶
func (me *SUBSCRIPTIONS_IMPL) CreateDiscount( subscriptionId string, body *models_pkg.SubscriptionsDiscountsRequest, idempotencyKey *string) (*models_pkg.SubscriptionsDiscountsResponse, error)
*
- Creates a discount
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsDiscountsRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.SubscriptionsDiscountsResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) CreateIncrement ¶
func (me *SUBSCRIPTIONS_IMPL) CreateIncrement( subscriptionId string, body *models_pkg.SubscriptionsIncrementsRequest, idempotencyKey *string) (*models_pkg.SubscriptionsIncrementsResponse, error)
*
- Creates a increment
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsIncrementsRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.SubscriptionsIncrementsResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) CreateSubscription ¶
func (me *SUBSCRIPTIONS_IMPL) CreateSubscription( body *models_pkg.SubscriptionsRequest1, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Creates a new subscription
- @param *models_pkg.SubscriptionsRequest1 body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) CreateSubscriptionItem ¶
func (me *SUBSCRIPTIONS_IMPL) CreateSubscriptionItem( subscriptionId string, body *models_pkg.SubscriptionsItemsRequest1, idempotencyKey *string) (*models_pkg.GetSubscriptionItemResponse, error)
*
- Creates a new Subscription item
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsItemsRequest1 body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionItemResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) DeleteDiscount ¶
func (me *SUBSCRIPTIONS_IMPL) DeleteDiscount( subscriptionId string, discountId string, idempotencyKey *string) (*models_pkg.SubscriptionsDiscountsResponse, error)
*
- Deletes a discount
- @param string subscriptionId parameter: Required
- @param string discountId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.SubscriptionsDiscountsResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) DeleteIncrement ¶
func (me *SUBSCRIPTIONS_IMPL) DeleteIncrement( subscriptionId string, incrementId string, idempotencyKey *string) (*models_pkg.SubscriptionsIncrementsResponse, error)
*
- Deletes a increment
- @param string subscriptionId parameter: Required
- @param string incrementId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.SubscriptionsIncrementsResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) DeleteSubscriptionItem ¶
func (me *SUBSCRIPTIONS_IMPL) DeleteSubscriptionItem( subscriptionId string, subscriptionItemId string, idempotencyKey *string) (*models_pkg.GetSubscriptionItemResponse, error)
*
- Deletes a subscription item
- @param string subscriptionId parameter: Required
- @param string subscriptionItemId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionItemResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) DeleteUsage ¶
func (me *SUBSCRIPTIONS_IMPL) DeleteUsage( subscriptionId string, itemId string, usageId string, idempotencyKey *string) (*models_pkg.SubscriptionsItemsUsagesUsageIdResponse, error)
*
- Deletes a usage
- @param string subscriptionId parameter: Required
- @param string itemId parameter: Required
- @param string usageId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.SubscriptionsItemsUsagesUsageIdResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetDiscountById ¶
func (me *SUBSCRIPTIONS_IMPL) GetDiscountById( subscriptionId string, discountId string) (*models_pkg.SubscriptionsDiscountsResponse, error)
*
- GetDiscountById
- @param string subscriptionId parameter: Required
- @param string discountId parameter: Required
- @return Returns the *models_pkg.SubscriptionsDiscountsResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetDiscounts ¶
func (me *SUBSCRIPTIONS_IMPL) GetDiscounts( subscriptionId string, page int64, size int64) (*models_pkg.ListDiscountsResponse, error)
*
- GetDiscounts
- @param string subscriptionId parameter: Required
- @param int64 page parameter: Required
- @param int64 size parameter: Required
- @return Returns the *models_pkg.ListDiscountsResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetIncrementById ¶
func (me *SUBSCRIPTIONS_IMPL) GetIncrementById( subscriptionId string, incrementId string) (*models_pkg.SubscriptionsIncrementsResponse, error)
*
- GetIncrementById
- @param string subscriptionId parameter: Required
- @param string incrementId parameter: Required
- @return Returns the *models_pkg.SubscriptionsIncrementsResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetIncrements ¶
func (me *SUBSCRIPTIONS_IMPL) GetIncrements( subscriptionId string, page *int64, size *int64) (*models_pkg.ListIncrementsResponse, error)
*
- GetIncrements
- @param string subscriptionId parameter: Required
- @param *int64 page parameter: Optional
- @param *int64 size parameter: Optional
- @return Returns the *models_pkg.ListIncrementsResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetSubscription ¶
func (me *SUBSCRIPTIONS_IMPL) GetSubscription( subscriptionId string) (*models_pkg.GetSubscriptionResponse, error)
*
- Gets a subscription
- @param string subscriptionId parameter: Required
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetSubscriptionCycleById ¶
func (me *SUBSCRIPTIONS_IMPL) GetSubscriptionCycleById( subscriptionId string, cycleId string) (*models_pkg.SubscriptionsCyclesResponse, error)
*
- GetSubscriptionCycleById
- @param string subscriptionId parameter: Required
- @param string cycleId parameter: Required
- @return Returns the *models_pkg.SubscriptionsCyclesResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetSubscriptionCycles ¶
func (me *SUBSCRIPTIONS_IMPL) GetSubscriptionCycles( subscriptionId string, page string, size string) (*models_pkg.SubscriptionsCyclesResponse2, error)
*
- GetSubscriptionCycles
- @param string subscriptionId parameter: Required
- @param string page parameter: Required
- @param string size parameter: Required
- @return Returns the *models_pkg.SubscriptionsCyclesResponse2 response from the API call
func (*SUBSCRIPTIONS_IMPL) GetSubscriptionItem ¶
func (me *SUBSCRIPTIONS_IMPL) GetSubscriptionItem( subscriptionId string, itemId string) (*models_pkg.GetSubscriptionItemResponse, error)
*
- Get Subscription Item
- @param string subscriptionId parameter: Required
- @param string itemId parameter: Required
- @return Returns the *models_pkg.GetSubscriptionItemResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetSubscriptionItems ¶
func (me *SUBSCRIPTIONS_IMPL) GetSubscriptionItems( subscriptionId string, page *int64, size *int64, name *string, code *string, status *string, description *string, createdSince *string, createdUntil *string) (*models_pkg.SubscriptionsItemsResponse3, error)
*
- Get Subscription Items
- @param string subscriptionId parameter: Required
- @param *int64 page parameter: Optional
- @param *int64 size parameter: Optional
- @param *string name parameter: Optional
- @param *string code parameter: Optional
- @param *string status parameter: Optional
- @param *string description parameter: Optional
- @param *string createdSince parameter: Optional
- @param *string createdUntil parameter: Optional
- @return Returns the *models_pkg.SubscriptionsItemsResponse3 response from the API call
func (*SUBSCRIPTIONS_IMPL) GetSubscriptions ¶
func (me *SUBSCRIPTIONS_IMPL) GetSubscriptions( page *int64, size *int64, code *string, billingType *string, customerId *string, planId *string, cardId *string, status *string, nextBillingSince *time.Time, nextBillingUntil *time.Time, createdSince *time.Time, createdUntil *time.Time) (*models_pkg.SubscriptionsResponse3, error)
*
- Gets all subscriptions
- @param *int64 page parameter: Optional
- @param *int64 size parameter: Optional
- @param *string code parameter: Optional
- @param *string billingType parameter: Optional
- @param *string customerId parameter: Optional
- @param *string planId parameter: Optional
- @param *string cardId parameter: Optional
- @param *string status parameter: Optional
- @param *time.Time nextBillingSince parameter: Optional
- @param *time.Time nextBillingUntil parameter: Optional
- @param *time.Time createdSince parameter: Optional
- @param *time.Time createdUntil parameter: Optional
- @return Returns the *models_pkg.SubscriptionsResponse3 response from the API call
func (*SUBSCRIPTIONS_IMPL) GetUsageReport ¶
func (me *SUBSCRIPTIONS_IMPL) GetUsageReport( subscriptionId string, periodId string) (*models_pkg.GetUsageReportResponse, error)
*
- GetUsageReport
- @param string subscriptionId parameter: Required
- @param string periodId parameter: Required
- @return Returns the *models_pkg.GetUsageReportResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetUsages ¶
func (me *SUBSCRIPTIONS_IMPL) GetUsages( subscriptionId string, itemId string, page *int64, size *int64, code *string, group *string, usedSince *time.Time, usedUntil *time.Time) (*models_pkg.SubscriptionsItemsUsagesResponse1, error)
*
- Lists all usages from a subscription item
- @param string subscriptionId parameter: Required
- @param string itemId parameter: Required
- @param *int64 page parameter: Optional
- @param *int64 size parameter: Optional
- @param *string code parameter: Optional
- @param *string group parameter: Optional
- @param *time.Time usedSince parameter: Optional
- @param *time.Time usedUntil parameter: Optional
- @return Returns the *models_pkg.SubscriptionsItemsUsagesResponse1 response from the API call
func (*SUBSCRIPTIONS_IMPL) GetUsagesDetails ¶
func (me *SUBSCRIPTIONS_IMPL) GetUsagesDetails( subscriptionId string, cycleId *string, size *int64, page *int64, itemId *string, group *string) (*models_pkg.GetUsagesDetailsResponse, error)
*
- GetUsagesDetails
- @param string subscriptionId parameter: Required
- @param *string cycleId parameter: Optional
- @param *int64 size parameter: Optional
- @param *int64 page parameter: Optional
- @param *string itemId parameter: Optional
- @param *string group parameter: Optional
- @return Returns the *models_pkg.GetUsagesDetailsResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) RenewSubscription ¶
func (me *SUBSCRIPTIONS_IMPL) RenewSubscription( subscriptionId string, idempotencyKey *string) (*models_pkg.SubscriptionsCyclesResponse, error)
*
- RenewSubscription
- @param string subscriptionId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.SubscriptionsCyclesResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateCurrentCycleStatus ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateCurrentCycleStatus( subscriptionId string, body *models_pkg.UpdateCurrentCycleStatusRequest, idempotencyKey *string) error
*
- UpdateCurrentCycleStatus
- @param string subscriptionId parameter: Required
- @param *models_pkg.UpdateCurrentCycleStatusRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateLatestPeriodEndAt ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateLatestPeriodEndAt( subscriptionId string, body *models_pkg.SubscriptionsPeriodsLatestEndAtRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- UpdateLatestPeriodEndAt
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsPeriodsLatestEndAtRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateSplitSubscription ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateSplitSubscription( id string, body *models_pkg.UpdateSubscriptionSplitRequest) (*models_pkg.GetSubscriptionResponse, error)
*
- UpdateSplitSubscription
- @param string id parameter: Required
- @param *models_pkg.UpdateSubscriptionSplitRequest body parameter: Required
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateSubscriptionAffiliationId ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionAffiliationId( subscriptionId string, body *models_pkg.SubscriptionsGatewayAffiliationIdRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- UpdateSubscriptionAffiliationId
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsGatewayAffiliationIdRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateSubscriptionBillingDate ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionBillingDate( subscriptionId string, body *models_pkg.SubscriptionsBillingDateRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the billing date from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsBillingDateRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateSubscriptionCard ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionCard( subscriptionId string, body *models_pkg.SubscriptionsCardRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the credit card from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsCardRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateSubscriptionDueDays ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionDueDays( subscriptionId string, body *models_pkg.UpdateSubscriptionDueDaysRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the boleto due days from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.UpdateSubscriptionDueDaysRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateSubscriptionItem ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionItem( subscriptionId string, itemId string, body *models_pkg.SubscriptionsItemsRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionItemResponse, error)
*
- Updates a subscription item
- @param string subscriptionId parameter: Required
- @param string itemId parameter: Required
- @param *models_pkg.SubscriptionsItemsRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionItemResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateSubscriptionMetadata ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionMetadata( subscriptionId string, body *models_pkg.SubscriptionsMetadataRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the metadata from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsMetadataRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateSubscriptionMiniumPrice ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionMiniumPrice( subscriptionId string, body *models_pkg.SubscriptionsMinimumPriceRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Atualização do valor mínimo da assinatura
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsMinimumPriceRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateSubscriptionPaymentMethod ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionPaymentMethod( subscriptionId string, body *models_pkg.SubscriptionsPaymentMethodRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the payment method from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsPaymentMethodRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) UpdateSubscriptionStartAt ¶
func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionStartAt( subscriptionId string, body *models_pkg.SubscriptionsStartAtRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the start at date from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.SubscriptionsStartAtRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetSubscriptionResponse response from the API call
Click to show internal directories.
Click to hide internal directories.