Class ChangeSubscriptionBuilder

java.lang.Object
com.commercetools.api.models.subscription.ChangeSubscriptionBuilder
All Implemented Interfaces:
Builder<ChangeSubscription>

public class ChangeSubscriptionBuilder extends Object implements Builder<ChangeSubscription>
ChangeSubscriptionBuilder
Example to create an instance using the builder pattern

     ChangeSubscription changeSubscription = ChangeSubscription.builder()
             .resourceTypeId(ChangeSubscriptionResourceTypeId.APPROVAL_FLOW)
             .build()
 
  • Constructor Details

    • ChangeSubscriptionBuilder

      public ChangeSubscriptionBuilder()
  • Method Details