Class AdyenDeliveryMethod
java.lang.Object
com.broadleafcommerce.adyen.service.domain.AdyenDeliveryMethod
Object reflecting Adyen's representation of a delivery method.
- Author:
- Chris Kittrell (ckittrell)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The cost of this delivery method.The name of the delivery method as shown to the shopper.The reference of the delivery method.getType()
The type of the delivery method.int
hashCode()
boolean
If you display the PayPal lightbox with delivery methods, set to true for the delivery method that is selected.void
setAmount
(AdyenAmount amount) The cost of this delivery method.void
setDescription
(String description) The name of the delivery method as shown to the shopper.void
setReference
(String reference) The reference of the delivery method.void
setSelected
(boolean selected) If you display the PayPal lightbox with delivery methods, set to true for the delivery method that is selected.void
The type of the delivery method.toString()
-
Constructor Details
-
AdyenDeliveryMethod
public AdyenDeliveryMethod()
-
-
Method Details
-
getAmount
The cost of this delivery method.- Returns:
- The cost of this delivery method.
-
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
The reference of the delivery method.- Returns:
- The reference of the delivery method.
-
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
The cost of this delivery method.- Parameters:
amount
- The cost of this delivery method.
-
setDescription
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
The reference of the delivery method.- Parameters:
reference
- The reference of the delivery method.
-
setType
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-