Name | Type | Description | Notes |
---|---|---|---|
Product | string | Product id | |
PromotionCode | Pointer to string | Promotion Codes is a Billing and Checkout feature which enables you to generate customer facing codes which can be redeemed to apply a coupon to an order. Promotion Codes have advanced validation features which allow you to specify when and on what orders the codes can be redeemed. | [optional] |
func NewCreateSubscriptionRequest(product string, ) *CreateSubscriptionRequest
NewCreateSubscriptionRequest instantiates a new CreateSubscriptionRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateSubscriptionRequestWithDefaults() *CreateSubscriptionRequest
NewCreateSubscriptionRequestWithDefaults instantiates a new CreateSubscriptionRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *CreateSubscriptionRequest) GetProduct() string
GetProduct returns the Product field if non-nil, zero value otherwise.
func (o *CreateSubscriptionRequest) GetProductOk() (*string, bool)
GetProductOk returns a tuple with the Product field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSubscriptionRequest) SetProduct(v string)
SetProduct sets Product field to given value.
func (o *CreateSubscriptionRequest) GetPromotionCode() string
GetPromotionCode returns the PromotionCode field if non-nil, zero value otherwise.
func (o *CreateSubscriptionRequest) GetPromotionCodeOk() (*string, bool)
GetPromotionCodeOk returns a tuple with the PromotionCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSubscriptionRequest) SetPromotionCode(v string)
SetPromotionCode sets PromotionCode field to given value.
func (o *CreateSubscriptionRequest) HasPromotionCode() bool
HasPromotionCode returns a boolean if a field has been set.