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.GetUsageResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) CreateDiscount(subscriptionId string, body *models_pkg.CreateDiscountRequest, ...) (*models_pkg.GetDiscountResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) CreateIncrement(subscriptionId string, body *models_pkg.CreateIncrementRequest, ...) (*models_pkg.GetIncrementResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) CreateSubscription(body *models_pkg.CreateSubscriptionRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) CreateSubscriptionItem(subscriptionId string, body *models_pkg.CreateSubscriptionItemRequest, ...) (*models_pkg.GetSubscriptionItemResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) DeleteDiscount(subscriptionId string, discountId string, idempotencyKey *string) (*models_pkg.GetDiscountResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) DeleteIncrement(subscriptionId string, incrementId string, idempotencyKey *string) (*models_pkg.GetIncrementResponse, 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.GetUsageResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetDiscountById(subscriptionId string, discountId string) (*models_pkg.GetDiscountResponse, 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.GetIncrementResponse, 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.GetPeriodResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetSubscriptionCycles(subscriptionId string, page string, size string) (*models_pkg.ListCyclesResponse, 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.ListSubscriptionItemsResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) GetSubscriptions(page *int64, size *int64, code *string, billingType *string, ...) (*models_pkg.ListSubscriptionsResponse, 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.ListUsagesResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) RenewSubscription(subscriptionId string, idempotencyKey *string) (*models_pkg.GetPeriodResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateCurrentCycleStatus(subscriptionId string, body *models_pkg.UpdateCurrentCycleStatusRequest, ...) error
- func (me *SUBSCRIPTIONS_IMPL) UpdateLatestPeriodEndAt(subscriptionId string, body *models_pkg.UpdateCurrentCycleEndDateRequest, ...) (*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, body *models_pkg.UpdateSubscriptionAffiliationIdRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionBillingDate(subscriptionId string, body *models_pkg.UpdateSubscriptionBillingDateRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionCard(subscriptionId string, body *models_pkg.UpdateSubscriptionCardRequest, ...) (*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.UpdateMetadataRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionMiniumPrice(subscriptionId string, body *models_pkg.UpdateSubscriptionMinimumPriceRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionPaymentMethod(subscriptionId string, body *models_pkg.UpdateSubscriptionPaymentMethodRequest, ...) (*models_pkg.GetSubscriptionResponse, error)
- func (me *SUBSCRIPTIONS_IMPL) UpdateSubscriptionStartAt(subscriptionId string, body *models_pkg.UpdateSubscriptionStartAtRequest, ...) (*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 { UpdateSubscriptionCard(string, *models_pkg.UpdateSubscriptionCardRequest, *string) (*models_pkg.GetSubscriptionResponse, error) CreateAnUsage(string, string, *string) (*models_pkg.GetUsageResponse, error) UpdateSubscriptionPaymentMethod(string, *models_pkg.UpdateSubscriptionPaymentMethodRequest, *string) (*models_pkg.GetSubscriptionResponse, error) CreateSubscriptionItem(string, *models_pkg.CreateSubscriptionItemRequest, *string) (*models_pkg.GetSubscriptionItemResponse, error) GetSubscriptionItem(string, string) (*models_pkg.GetSubscriptionItemResponse, error) UpdateSubscriptionAffiliationId(string, *models_pkg.UpdateSubscriptionAffiliationIdRequest, *string) (*models_pkg.GetSubscriptionResponse, error) GetIncrements(string, *int64, *int64) (*models_pkg.ListIncrementsResponse, error) UpdateSubscriptionDueDays(string, *models_pkg.UpdateSubscriptionDueDaysRequest, *string) (*models_pkg.GetSubscriptionResponse, error) UpdateSubscriptionStartAt(string, *models_pkg.UpdateSubscriptionStartAtRequest, *string) (*models_pkg.GetSubscriptionResponse, error) GetSubscriptionCycleById(string, string) (*models_pkg.GetPeriodResponse, error) DeleteDiscount(string, string, *string) (*models_pkg.GetDiscountResponse, error) GetSubscriptionItems(string, *int64, *int64, *string, *string, *string, *string, *string, *string) (*models_pkg.ListSubscriptionItemsResponse, error) UpdateSubscriptionItem(string, string, *models_pkg.UpdateSubscriptionItemRequest, *string) (*models_pkg.GetSubscriptionItemResponse, error) CreateSubscription(*models_pkg.CreateSubscriptionRequest, *string) (*models_pkg.GetSubscriptionResponse, error) GetDiscountById(string, string) (*models_pkg.GetDiscountResponse, error) UpdateSubscriptionBillingDate(string, *models_pkg.UpdateSubscriptionBillingDateRequest, *string) (*models_pkg.GetSubscriptionResponse, error) UpdateLatestPeriodEndAt(string, *models_pkg.UpdateCurrentCycleEndDateRequest, *string) (*models_pkg.GetSubscriptionResponse, error) CreateDiscount(string, *models_pkg.CreateDiscountRequest, *string) (*models_pkg.GetDiscountResponse, error) DeleteUsage(string, string, string, *string) (*models_pkg.GetUsageResponse, error) GetUsages(string, string, *int64, *int64, *string, *string, *time.Time, *time.Time) (*models_pkg.ListUsagesResponse, error) UpdateCurrentCycleStatus(string, *models_pkg.UpdateCurrentCycleStatusRequest, *string) error CancelSubscription(string, *string, *models_pkg.CreateCancelSubscriptionRequest) (*models_pkg.GetSubscriptionResponse, error) CreateIncrement(string, *models_pkg.CreateIncrementRequest, *string) (*models_pkg.GetIncrementResponse, error) UpdateSubscriptionMetadata(string, *models_pkg.UpdateMetadataRequest, *string) (*models_pkg.GetSubscriptionResponse, error) GetDiscounts(string, int64, int64) (*models_pkg.ListDiscountsResponse, error) UpdateSubscriptionMiniumPrice(string, *models_pkg.UpdateSubscriptionMinimumPriceRequest, *string) (*models_pkg.GetSubscriptionResponse, error) UpdateSplitSubscription(string, *models_pkg.UpdateSubscriptionSplitRequest) (*models_pkg.GetSubscriptionResponse, error) GetSubscriptions(*int64, *int64, *string, *string, *string, *string, *string, *string, *time.Time, *time.Time, *time.Time, *time.Time) (*models_pkg.ListSubscriptionsResponse, error) GetSubscription(string) (*models_pkg.GetSubscriptionResponse, error) DeleteIncrement(string, string, *string) (*models_pkg.GetIncrementResponse, error) GetIncrementById(string, string) (*models_pkg.GetIncrementResponse, error) GetSubscriptionCycles(string, string, string) (*models_pkg.ListCyclesResponse, error) RenewSubscription(string, *string) (*models_pkg.GetPeriodResponse, error) DeleteSubscriptionItem(string, string, *string) (*models_pkg.GetSubscriptionItemResponse, error) GetUsageReport(string, string) (*models_pkg.GetUsageReportResponse, 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.CreateCancelSubscriptionRequest) (*models_pkg.GetSubscriptionResponse, error)
*
- Cancels a subscription
- @param string subscriptionId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @param *models_pkg.CreateCancelSubscriptionRequest 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.GetUsageResponse, error)
*
- Create Usage
- @param string subscriptionId parameter: Required
- @param string itemId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetUsageResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) CreateDiscount ¶
func (me *SUBSCRIPTIONS_IMPL) CreateDiscount( subscriptionId string, body *models_pkg.CreateDiscountRequest, idempotencyKey *string) (*models_pkg.GetDiscountResponse, error)
*
- Creates a discount
- @param string subscriptionId parameter: Required
- @param *models_pkg.CreateDiscountRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetDiscountResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) CreateIncrement ¶
func (me *SUBSCRIPTIONS_IMPL) CreateIncrement( subscriptionId string, body *models_pkg.CreateIncrementRequest, idempotencyKey *string) (*models_pkg.GetIncrementResponse, error)
*
- Creates a increment
- @param string subscriptionId parameter: Required
- @param *models_pkg.CreateIncrementRequest body parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetIncrementResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) CreateSubscription ¶
func (me *SUBSCRIPTIONS_IMPL) CreateSubscription( body *models_pkg.CreateSubscriptionRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Creates a new subscription
- @param *models_pkg.CreateSubscriptionRequest 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.CreateSubscriptionItemRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionItemResponse, error)
*
- Creates a new Subscription item
- @param string subscriptionId parameter: Required
- @param *models_pkg.CreateSubscriptionItemRequest 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.GetDiscountResponse, error)
*
- Deletes a discount
- @param string subscriptionId parameter: Required
- @param string discountId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetDiscountResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) DeleteIncrement ¶
func (me *SUBSCRIPTIONS_IMPL) DeleteIncrement( subscriptionId string, incrementId string, idempotencyKey *string) (*models_pkg.GetIncrementResponse, error)
*
- Deletes a increment
- @param string subscriptionId parameter: Required
- @param string incrementId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetIncrementResponse 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.GetUsageResponse, 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.GetUsageResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetDiscountById ¶
func (me *SUBSCRIPTIONS_IMPL) GetDiscountById( subscriptionId string, discountId string) (*models_pkg.GetDiscountResponse, error)
*
- GetDiscountById
- @param string subscriptionId parameter: Required
- @param string discountId parameter: Required
- @return Returns the *models_pkg.GetDiscountResponse 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.GetIncrementResponse, error)
*
- GetIncrementById
- @param string subscriptionId parameter: Required
- @param string incrementId parameter: Required
- @return Returns the *models_pkg.GetIncrementResponse 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.GetPeriodResponse, error)
*
- GetSubscriptionCycleById
- @param string subscriptionId parameter: Required
- @param string cycleId parameter: Required
- @return Returns the *models_pkg.GetPeriodResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) GetSubscriptionCycles ¶
func (me *SUBSCRIPTIONS_IMPL) GetSubscriptionCycles( subscriptionId string, page string, size string) (*models_pkg.ListCyclesResponse, error)
*
- GetSubscriptionCycles
- @param string subscriptionId parameter: Required
- @param string page parameter: Required
- @param string size parameter: Required
- @return Returns the *models_pkg.ListCyclesResponse 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.ListSubscriptionItemsResponse, 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.ListSubscriptionItemsResponse 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.ListSubscriptionsResponse, 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.ListSubscriptionsResponse 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.ListUsagesResponse, 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.ListUsagesResponse response from the API call
func (*SUBSCRIPTIONS_IMPL) RenewSubscription ¶
func (me *SUBSCRIPTIONS_IMPL) RenewSubscription( subscriptionId string, idempotencyKey *string) (*models_pkg.GetPeriodResponse, error)
*
- RenewSubscription
- @param string subscriptionId parameter: Required
- @param *string idempotencyKey parameter: Optional
- @return Returns the *models_pkg.GetPeriodResponse 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.UpdateCurrentCycleEndDateRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- UpdateLatestPeriodEndAt
- @param string subscriptionId parameter: Required
- @param *models_pkg.UpdateCurrentCycleEndDateRequest 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.UpdateSubscriptionAffiliationIdRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- UpdateSubscriptionAffiliationId
- @param string subscriptionId parameter: Required
- @param *models_pkg.UpdateSubscriptionAffiliationIdRequest 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.UpdateSubscriptionBillingDateRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the billing date from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.UpdateSubscriptionBillingDateRequest 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.UpdateSubscriptionCardRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the credit card from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.UpdateSubscriptionCardRequest 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.UpdateSubscriptionItemRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionItemResponse, error)
*
- Updates a subscription item
- @param string subscriptionId parameter: Required
- @param string itemId parameter: Required
- @param *models_pkg.UpdateSubscriptionItemRequest 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.UpdateMetadataRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the metadata from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.UpdateMetadataRequest 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.UpdateSubscriptionMinimumPriceRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Atualização do valor mínimo da assinatura
- @param string subscriptionId parameter: Required
- @param *models_pkg.UpdateSubscriptionMinimumPriceRequest 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.UpdateSubscriptionPaymentMethodRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the payment method from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.UpdateSubscriptionPaymentMethodRequest 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.UpdateSubscriptionStartAtRequest, idempotencyKey *string) (*models_pkg.GetSubscriptionResponse, error)
*
- Updates the start at date from a subscription
- @param string subscriptionId parameter: Required
- @param *models_pkg.UpdateSubscriptionStartAtRequest 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.