You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AddonId, id of one-time addon, the new payment will created base on the addon's amount'
discount_code
str
DiscountCode
[optional]
metadata
Dict[str, str]
Metadata,custom data
[optional]
quantity
int
Quantity, quantity of the new payment which one-time addon purchased
return_url
str
ReturnUrl, the addon's payment will redirect based on the returnUrl provided when it's back from gateway side
[optional]
subscription_id
str
SubscriptionId, id of subscription which addon will attached
Example
fromopenapi_client.models.unibee_api_merchant_subscription_onetime_addon_new_reqimportUnibeeApiMerchantSubscriptionOnetimeAddonNewReq# TODO update the JSON string belowjson="{}"# create an instance of UnibeeApiMerchantSubscriptionOnetimeAddonNewReq from a JSON stringunibee_api_merchant_subscription_onetime_addon_new_req_instance=UnibeeApiMerchantSubscriptionOnetimeAddonNewReq.from_json(json)
# print the JSON string representation of the objectprintUnibeeApiMerchantSubscriptionOnetimeAddonNewReq.to_json()
# convert the object into a dictunibee_api_merchant_subscription_onetime_addon_new_req_dict=unibee_api_merchant_subscription_onetime_addon_new_req_instance.to_dict()
# create an instance of UnibeeApiMerchantSubscriptionOnetimeAddonNewReq from a dictunibee_api_merchant_subscription_onetime_addon_new_req_form_dict=unibee_api_merchant_subscription_onetime_addon_new_req.from_dict(unibee_api_merchant_subscription_onetime_addon_new_req_dict)