Class CreateOrderRequest

java.lang.Object
de.codebarista.shopware.model.core.CreateOrderRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-06-10T11:26:02.541008353+02:00[Europe/Berlin]", comments="Generator version: 7.5.0") public class CreateOrderRequest extends Object
CreateOrderRequest
  • Field Details

  • Constructor Details

    • CreateOrderRequest

      public CreateOrderRequest()
  • Method Details

    • customerComment

      public CreateOrderRequest customerComment(String customerComment)
    • getCustomerComment

      @Nullable public String getCustomerComment()
      Adds a comment from the customer to the order.
      Returns:
      customerComment
    • setCustomerComment

      public void setCustomerComment(String customerComment)
    • affiliateCode

      public CreateOrderRequest affiliateCode(String affiliateCode)
    • getAffiliateCode

      @Nullable public String getAffiliateCode()
      The affiliate code can be used to track which referrer the customer came through. An example could be `Price-comparison-company-XY`.
      Returns:
      affiliateCode
    • setAffiliateCode

      public void setAffiliateCode(String affiliateCode)
    • campaignCode

      public CreateOrderRequest campaignCode(String campaignCode)
    • getCampaignCode

      @Nullable public String getCampaignCode()
      The campaign code is used to track which action the customer came from. An example could be `Summer-Deals`
      Returns:
      campaignCode
    • setCampaignCode

      public void setCampaignCode(String campaignCode)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object