Package com.onlinepayments.domain
Class Shipping
java.lang.Object
com.onlinepayments.domain.Shipping
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObject containing address informationIndicates shipping method chosen for the transaction.Email address linked to the shippingDate (YYYYMMDD) when the shipping details for this transaction were first used.Indicator if this shipping address is used for the first time to ship an orderObject containing information regarding shipping methodCost associated with the shipping of the order.Tax amount of the shipping cost.getType()Indicates the merchandise delivery timeframe.voidsetAddress(AddressPersonal value) Object containing address informationvoidsetAddressIndicator(String value) Indicates shipping method chosen for the transaction.voidsetEmailAddress(String value) Email address linked to the shippingvoidsetFirstUsageDate(String value) Date (YYYYMMDD) when the shipping details for this transaction were first used.voidsetIsFirstUsage(Boolean value) Indicator if this shipping address is used for the first time to ship an ordervoidsetMethod(ShippingMethod value) Object containing information regarding shipping methodvoidsetShippingCost(Long value) Cost associated with the shipping of the order.voidsetShippingCostTax(Long value) Tax amount of the shipping cost.voidIndicates the merchandise delivery timeframe.withAddress(AddressPersonal value) Object containing address informationwithAddressIndicator(String value) Indicates shipping method chosen for the transaction.withEmailAddress(String value) Email address linked to the shippingwithFirstUsageDate(String value) Date (YYYYMMDD) when the shipping details for this transaction were first used.withIsFirstUsage(Boolean value) Indicator if this shipping address is used for the first time to ship an orderwithMethod(ShippingMethod value) Object containing information regarding shipping methodwithShippingCost(Long value) Cost associated with the shipping of the order.withShippingCostTax(Long value) Tax amount of the shipping cost.Indicates the merchandise delivery timeframe.
-
Constructor Details
-
Shipping
public Shipping()
-
-
Method Details
-
getAddress
Object containing address information -
setAddress
Object containing address information -
withAddress
Object containing address information -
getAddressIndicator
Indicates shipping method chosen for the transaction. Possible values:- same-as-billing = the shipping address is the same as the billing address
- another-verified-address-on-file-with-merchant = the address used for shipping is another verified address of the customer that is on file with you
- different-than-billing = shipping address is different from the billing address
- ship-to-store = goods are shipped to a store (shipping address = store address)
- digital-goods = electronic delivery of digital goods
- travel-and-event-tickets-not-shipped = travel and/or event tickets that are not shipped
- other = other means of delivery
-
setAddressIndicator
Indicates shipping method chosen for the transaction. Possible values:- same-as-billing = the shipping address is the same as the billing address
- another-verified-address-on-file-with-merchant = the address used for shipping is another verified address of the customer that is on file with you
- different-than-billing = shipping address is different from the billing address
- ship-to-store = goods are shipped to a store (shipping address = store address)
- digital-goods = electronic delivery of digital goods
- travel-and-event-tickets-not-shipped = travel and/or event tickets that are not shipped
- other = other means of delivery
-
withAddressIndicator
Indicates shipping method chosen for the transaction. Possible values:- same-as-billing = the shipping address is the same as the billing address
- another-verified-address-on-file-with-merchant = the address used for shipping is another verified address of the customer that is on file with you
- different-than-billing = shipping address is different from the billing address
- ship-to-store = goods are shipped to a store (shipping address = store address)
- digital-goods = electronic delivery of digital goods
- travel-and-event-tickets-not-shipped = travel and/or event tickets that are not shipped
- other = other means of delivery
-
getEmailAddress
Email address linked to the shipping -
setEmailAddress
Email address linked to the shipping -
withEmailAddress
Email address linked to the shipping -
getFirstUsageDate
Date (YYYYMMDD) when the shipping details for this transaction were first used. -
setFirstUsageDate
Date (YYYYMMDD) when the shipping details for this transaction were first used. -
withFirstUsageDate
Date (YYYYMMDD) when the shipping details for this transaction were first used. -
getIsFirstUsage
Indicator if this shipping address is used for the first time to ship an ordertrue = the shipping details are used for the first time with this transaction
false = the shipping details have been used for other transactions in the past
-
setIsFirstUsage
Indicator if this shipping address is used for the first time to ship an ordertrue = the shipping details are used for the first time with this transaction
false = the shipping details have been used for other transactions in the past
-
withIsFirstUsage
Indicator if this shipping address is used for the first time to ship an ordertrue = the shipping details are used for the first time with this transaction
false = the shipping details have been used for other transactions in the past
-
getMethod
Object containing information regarding shipping method -
setMethod
Object containing information regarding shipping method -
withMethod
Object containing information regarding shipping method -
getShippingCost
Cost associated with the shipping of the order. -
setShippingCost
Cost associated with the shipping of the order. -
withShippingCost
Cost associated with the shipping of the order. -
getShippingCostTax
Tax amount of the shipping cost. -
setShippingCostTax
Tax amount of the shipping cost. -
withShippingCostTax
Tax amount of the shipping cost. -
getType
Indicates the merchandise delivery timeframe. Possible values:- electronic = For electronic delivery (services or digital goods)
- same-day = For same day deliveries
- overnight = For overnight deliveries
- 2-day-or-more = For two day or more delivery time
-
setType
Indicates the merchandise delivery timeframe. Possible values:- electronic = For electronic delivery (services or digital goods)
- same-day = For same day deliveries
- overnight = For overnight deliveries
- 2-day-or-more = For two day or more delivery time
-
withType
Indicates the merchandise delivery timeframe. Possible values:- electronic = For electronic delivery (services or digital goods)
- same-day = For same day deliveries
- overnight = For overnight deliveries
- 2-day-or-more = For two day or more delivery time
-