Class StoreSetCheckoutUrlTemplateActionBuilder

java.lang.Object
com.commercetools.api.models.store.StoreSetCheckoutUrlTemplateActionBuilder
All Implemented Interfaces:
Builder<StoreSetCheckoutUrlTemplateAction>

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

     StoreSetCheckoutUrlTemplateAction storeSetCheckoutUrlTemplateAction = StoreSetCheckoutUrlTemplateAction.builder()
             .build()
 
  • Constructor Details

    • StoreSetCheckoutUrlTemplateActionBuilder

      public StoreSetCheckoutUrlTemplateActionBuilder()
  • Method Details

    • checkoutUrlTemplate

      public StoreSetCheckoutUrlTemplateActionBuilder checkoutUrlTemplate(@Nullable String checkoutUrlTemplate)

      Value to set. Must be an RFC 6570 URI template containing the checkoutId variable. If empty, any existing value is removed.

      Parameters:
      checkoutUrlTemplate - value to be set
      Returns:
      Builder
    • getCheckoutUrlTemplate

      @Nullable public String getCheckoutUrlTemplate()

      Value to set. Must be an RFC 6570 URI template containing the checkoutId variable. If empty, any existing value is removed.

      Returns:
      checkoutUrlTemplate
    • build

      builds StoreSetCheckoutUrlTemplateAction with checking for non-null required values
      Specified by:
      build in interface Builder<StoreSetCheckoutUrlTemplateAction>
      Returns:
      StoreSetCheckoutUrlTemplateAction
    • buildUnchecked

      public StoreSetCheckoutUrlTemplateAction buildUnchecked()
      builds StoreSetCheckoutUrlTemplateAction without checking for non-null required values
      Returns:
      StoreSetCheckoutUrlTemplateAction
    • of

      factory method for an instance of StoreSetCheckoutUrlTemplateActionBuilder
      Returns:
      builder
    • of

      create builder for StoreSetCheckoutUrlTemplateAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder