Class Shipping

java.lang.Object
com.onlinepayments.domain.Shipping

public class Shipping extends Object
  • Constructor Details

    • Shipping

      public Shipping()
  • Method Details

    • getAddress

      public AddressPersonal getAddress()
      Object containing address information
    • setAddress

      public void setAddress(AddressPersonal value)
      Object containing address information
    • withAddress

      public Shipping withAddress(AddressPersonal value)
      Object containing address information
    • getAddressIndicator

      public String 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

      public void setAddressIndicator(String value)
      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

      public Shipping withAddressIndicator(String value)
      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

      public String getEmailAddress()
      Email address linked to the shipping
    • setEmailAddress

      public void setEmailAddress(String value)
      Email address linked to the shipping
    • withEmailAddress

      public Shipping withEmailAddress(String value)
      Email address linked to the shipping
    • getFirstUsageDate

      public String getFirstUsageDate()
      Date (YYYYMMDD) when the shipping details for this transaction were first used.
    • setFirstUsageDate

      public void setFirstUsageDate(String value)
      Date (YYYYMMDD) when the shipping details for this transaction were first used.
    • withFirstUsageDate

      public Shipping withFirstUsageDate(String value)
      Date (YYYYMMDD) when the shipping details for this transaction were first used.
    • getIsFirstUsage

      public Boolean getIsFirstUsage()
      Indicator if this shipping address is used for the first time to ship an order

      true = 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

      public void setIsFirstUsage(Boolean value)
      Indicator if this shipping address is used for the first time to ship an order

      true = 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

      public Shipping withIsFirstUsage(Boolean value)
      Indicator if this shipping address is used for the first time to ship an order

      true = 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

      public ShippingMethod getMethod()
      Object containing information regarding shipping method
    • setMethod

      public void setMethod(ShippingMethod value)
      Object containing information regarding shipping method
    • withMethod

      public Shipping withMethod(ShippingMethod value)
      Object containing information regarding shipping method
    • getShippingCost

      public Long getShippingCost()
      Cost associated with the shipping of the order.
    • setShippingCost

      public void setShippingCost(Long value)
      Cost associated with the shipping of the order.
    • withShippingCost

      public Shipping withShippingCost(Long value)
      Cost associated with the shipping of the order.
    • getShippingCostTax

      public Long getShippingCostTax()
      Tax amount of the shipping cost.
    • setShippingCostTax

      public void setShippingCostTax(Long value)
      Tax amount of the shipping cost.
    • withShippingCostTax

      public Shipping withShippingCostTax(Long value)
      Tax amount of the shipping cost.
    • getType

      public String 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

      public void setType(String value)
      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

      public Shipping withType(String value)
      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