CreateSubscriptionRequest class abstract

CreateSubscriptionRequest

Properties:

  • product - Product id
  • promotionCode - 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.
Annotations
  • @BuiltValue()

Constructors

CreateSubscriptionRequest([void updates(CreateSubscriptionRequestBuilder b)])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
product String
Product id
no setter
promotionCode 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.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(CreateSubscriptionRequestBuilder)) CreateSubscriptionRequest
Rebuilds the instance.
inherited
toBuilder() CreateSubscriptionRequestBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<CreateSubscriptionRequest>
no setter