Class PaymentInfoModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AdvancePaymentInfoModel, ChinesePaymentInfoModel, CreditCardPaymentInfoModel, DebitPaymentInfoModel, InvoicePaymentInfoModel

public class PaymentInfoModel extends ItemModel
Generated model class for type PaymentInfo first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _USER2PAYMENTINFOS

      public static final String _USER2PAYMENTINFOS
      Generated relation code constant for relation User2PaymentInfos defining source attribute user in extension core.
      See Also:
    • ORIGINAL

      public static final String ORIGINAL
      Generated constant - Attribute key of PaymentInfo.original attribute defined at extension core.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of PaymentInfo.code attribute defined at extension core.
      See Also:
    • DUPLICATE

      public static final String DUPLICATE
      Generated constant - Attribute key of PaymentInfo.duplicate attribute defined at extension core.
      See Also:
    • USER

      public static final String USER
      Generated constant - Attribute key of PaymentInfo.user attribute defined at extension core.
      See Also:
    • CARTTOORDERCRONJOB

      public static final String CARTTOORDERCRONJOB
      Generated constant - Attribute key of PaymentInfo.cartToOrderCronJob attribute defined at extension basecommerce.
      See Also:
    • BILLINGADDRESS

      public static final String BILLINGADDRESS
      Generated constant - Attribute key of PaymentInfo.billingAddress attribute defined at extension payment.
      See Also:
    • SAVED

      public static final String SAVED
      Generated constant - Attribute key of PaymentInfo.saved attribute defined at extension commerceservices.
      See Also:
  • Constructor Details

    • PaymentInfoModel

      public PaymentInfoModel()
      Generated constructor - Default constructor for generic creation.
    • PaymentInfoModel

      public PaymentInfoModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • PaymentInfoModel

      @Deprecated(since="4.1.1", forRemoval=true) public PaymentInfoModel(String _code, UserModel _user)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _code - initial attribute declared by type PaymentInfo at extension core
      _user - initial attribute declared by type PaymentInfo at extension core
    • PaymentInfoModel

      @Deprecated(since="4.1.1", forRemoval=true) public PaymentInfoModel(String _code, ItemModel _original, ItemModel _owner, UserModel _user)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _code - initial attribute declared by type PaymentInfo at extension core
      _original - initial attribute declared by type PaymentInfo at extension core
      _owner - initial attribute declared by type Item at extension core
      _user - initial attribute declared by type PaymentInfo at extension core
  • Method Details

    • getBillingAddress

      @Accessor(qualifier="billingAddress", type=GETTER) public AddressModel getBillingAddress()
      Generated method - Getter of the PaymentInfo.billingAddress attribute defined at extension payment.
      Returns:
      the billingAddress
    • getCartToOrderCronJob

      @Accessor(qualifier="cartToOrderCronJob", type=GETTER) public Collection<CartToOrderCronJobModel> getCartToOrderCronJob()
      Generated method - Getter of the PaymentInfo.cartToOrderCronJob attribute defined at extension basecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the cartToOrderCronJob
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the PaymentInfo.code attribute defined at extension core.
      Returns:
      the code
    • getDuplicate

      @Accessor(qualifier="duplicate", type=GETTER) public Boolean getDuplicate()
      Generated method - Getter of the PaymentInfo.duplicate attribute defined at extension core.
      Returns:
      the duplicate
    • getOriginal

      @Accessor(qualifier="original", type=GETTER) public ItemModel getOriginal()
      Generated method - Getter of the PaymentInfo.original attribute defined at extension core.
      Returns:
      the original
    • getUser

      @Accessor(qualifier="user", type=GETTER) public UserModel getUser()
      Generated method - Getter of the PaymentInfo.user attribute defined at extension core.
      Returns:
      the user
    • isSaved

      @Accessor(qualifier="saved", type=GETTER) public boolean isSaved()
      Generated method - Getter of the PaymentInfo.saved attribute defined at extension commerceservices.
      Returns:
      the saved - Indicates the item is saved for reuse.
    • setBillingAddress

      @Accessor(qualifier="billingAddress", type=SETTER) public void setBillingAddress(AddressModel value)
      Generated method - Setter of PaymentInfo.billingAddress attribute defined at extension payment.
      Parameters:
      value - the billingAddress
    • setCartToOrderCronJob

      @Accessor(qualifier="cartToOrderCronJob", type=SETTER) public void setCartToOrderCronJob(Collection<CartToOrderCronJobModel> value)
      Generated method - Setter of PaymentInfo.cartToOrderCronJob attribute defined at extension basecommerce.
      Parameters:
      value - the cartToOrderCronJob
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of PaymentInfo.code attribute defined at extension core.
      Parameters:
      value - the code
    • setDuplicate

      @Accessor(qualifier="duplicate", type=SETTER) public void setDuplicate(Boolean value)
      Generated method - Setter of PaymentInfo.duplicate attribute defined at extension core.
      Parameters:
      value - the duplicate
    • setOriginal

      @Accessor(qualifier="original", type=SETTER) public void setOriginal(ItemModel value)
      Generated method - Initial setter of PaymentInfo.original attribute defined at extension core. Can only be used at creation of model - before first save.
      Parameters:
      value - the original
    • setSaved

      @Accessor(qualifier="saved", type=SETTER) public void setSaved(boolean value)
      Generated method - Setter of PaymentInfo.saved attribute defined at extension commerceservices.
      Parameters:
      value - the saved - Indicates the item is saved for reuse.
    • setUser

      @Accessor(qualifier="user", type=SETTER) public void setUser(UserModel value)
      Generated method - Initial setter of PaymentInfo.user attribute defined at extension core. Can only be used at creation of model - before first save.
      Parameters:
      value - the user