Class GetDeliveryMethodOptions.Builder

  • Enclosing class:
    GetDeliveryMethodOptions

    public static class GetDeliveryMethodOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String catalogId,
                       java.lang.String deliveryMethodId)
        Instantiates a new builder with required properties.
        Parameters:
        catalogId - the catalogId
        deliveryMethodId - the deliveryMethodId
    • Method Detail

      • build

        public GetDeliveryMethodOptions build()
        Builds a GetDeliveryMethodOptions.
        Returns:
        the new GetDeliveryMethodOptions instance
      • catalogId

        public GetDeliveryMethodOptions.Builder catalogId​(java.lang.String catalogId)
        Set the catalogId.
        Parameters:
        catalogId - the catalogId
        Returns:
        the GetDeliveryMethodOptions builder
      • deliveryMethodId

        public GetDeliveryMethodOptions.Builder deliveryMethodId​(java.lang.String deliveryMethodId)
        Set the deliveryMethodId.
        Parameters:
        deliveryMethodId - the deliveryMethodId
        Returns:
        the GetDeliveryMethodOptions builder