Class AdyenDeliveryMethod

java.lang.Object
com.broadleafcommerce.adyen.service.domain.AdyenDeliveryMethod

public class AdyenDeliveryMethod extends Object
Object reflecting Adyen's representation of a delivery method.
Author:
Chris Kittrell (ckittrell)
  • Constructor Details

    • AdyenDeliveryMethod

      public AdyenDeliveryMethod()
  • Method Details

    • getAmount

      public AdyenAmount getAmount()
      The cost of this delivery method.
      Returns:
      The cost of this delivery method.
    • getDescription

      public String getDescription()
      The name of the delivery method as shown to the shopper.
      Returns:
      The name of the delivery method as shown to the shopper.
    • getReference

      public String getReference()
      The reference of the delivery method.
      Returns:
      The reference of the delivery method.
    • getType

      public String getType()
      The type of the delivery method.
      Returns:
      The type of the delivery method.
    • isSelected

      public boolean isSelected()
      If you display the PayPal lightbox with delivery methods, set to true for the delivery method that is selected. Only one delivery method can be selected at a time.
      Returns:
      If you display the PayPal lightbox with delivery methods, set to true for the delivery method that is selected. Only one delivery method can be selected at a time.
    • setAmount

      public void setAmount(AdyenAmount amount)
      The cost of this delivery method.
      Parameters:
      amount - The cost of this delivery method.
    • setDescription

      public void setDescription(String description)
      The name of the delivery method as shown to the shopper.
      Parameters:
      description - The name of the delivery method as shown to the shopper.
    • setReference

      public void setReference(String reference)
      The reference of the delivery method.
      Parameters:
      reference - The reference of the delivery method.
    • setType

      public void setType(String type)
      The type of the delivery method.
      Parameters:
      type - The type of the delivery method.
    • setSelected

      public void setSelected(boolean selected)
      If you display the PayPal lightbox with delivery methods, set to true for the delivery method that is selected. Only one delivery method can be selected at a time.
      Parameters:
      selected - If you display the PayPal lightbox with delivery methods, set to true for the delivery method that is selected. Only one delivery method can be selected at a time.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object