Class StoreSetTermsOfServiceUrlActionBuilder

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

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

     StoreSetTermsOfServiceUrlAction storeSetTermsOfServiceUrlAction = StoreSetTermsOfServiceUrlAction.builder()
             .build()
 
  • Constructor Details

    • StoreSetTermsOfServiceUrlActionBuilder

      public StoreSetTermsOfServiceUrlActionBuilder()
  • Method Details

    • termsOfServiceUrl

      public StoreSetTermsOfServiceUrlActionBuilder termsOfServiceUrl(@Nullable String termsOfServiceUrl)

      Value to set. Must be an absolute https URL. If empty, any existing value is removed.

      Parameters:
      termsOfServiceUrl - value to be set
      Returns:
      Builder
    • getTermsOfServiceUrl

      @Nullable public String getTermsOfServiceUrl()

      Value to set. Must be an absolute https URL. If empty, any existing value is removed.

      Returns:
      termsOfServiceUrl
    • build

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

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

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

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