Class PaymentTransactionModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlipayPaymentTransactionModel, WeChatPayPaymentTransactionModel

public class PaymentTransactionModel extends ItemModel
Generated model class for type PaymentTransaction first defined at extension payment.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _ORDER2PAYMENTTRANSACTION
      Generated relation code constant for relation Order2PaymentTransaction defining source attribute order in extension payment.
      See Also:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of PaymentTransaction.code attribute defined at extension payment.
      See Also:
    • REQUESTID

      public static final String REQUESTID
      Generated constant - Attribute key of PaymentTransaction.requestId attribute defined at extension payment.
      See Also:
    • REQUESTTOKEN

      public static final String REQUESTTOKEN
      Generated constant - Attribute key of PaymentTransaction.requestToken attribute defined at extension payment.
      See Also:
    • PAYMENTPROVIDER

      public static final String PAYMENTPROVIDER
      Generated constant - Attribute key of PaymentTransaction.paymentProvider attribute defined at extension payment.
      See Also:
    • PLANNEDAMOUNT

      public static final String PLANNEDAMOUNT
      Generated constant - Attribute key of PaymentTransaction.plannedAmount attribute defined at extension payment.
      See Also:
    • CURRENCY

      public static final String CURRENCY
      Generated constant - Attribute key of PaymentTransaction.currency attribute defined at extension payment.
      See Also:
    • INFO

      public static final String INFO
      Generated constant - Attribute key of PaymentTransaction.info attribute defined at extension payment.
      See Also:
    • VERSIONID

      public static final String VERSIONID
      Generated constant - Attribute key of PaymentTransaction.versionID attribute defined at extension payment.
      See Also:
    • ENTRIES

      public static final String ENTRIES
      Generated constant - Attribute key of PaymentTransaction.entries attribute defined at extension payment.
      See Also:
    • ORDER

      public static final String ORDER
      Generated constant - Attribute key of PaymentTransaction.order attribute defined at extension payment.
      See Also:
  • Constructor Details

    • PaymentTransactionModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public PaymentTransactionModel(String _code)
      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 PaymentTransaction at extension payment
    • PaymentTransactionModel

      @Deprecated(since="4.1.1", forRemoval=true) public PaymentTransactionModel(String _code, ItemModel _owner, String _versionID)
      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 PaymentTransaction at extension payment
      _owner - initial attribute declared by type Item at extension core
      _versionID - initial attribute declared by type PaymentTransaction at extension payment
  • Method Details

    • getCode

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

      @Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
      Generated method - Getter of the PaymentTransaction.currency attribute defined at extension payment.
      Returns:
      the currency
    • getEntries

      @Accessor(qualifier="entries", type=GETTER) public List<PaymentTransactionEntryModel> getEntries()
      Generated method - Getter of the PaymentTransaction.entries attribute defined at extension payment. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the entries
    • getInfo

      @Accessor(qualifier="info", type=GETTER) public PaymentInfoModel getInfo()
      Generated method - Getter of the PaymentTransaction.info attribute defined at extension payment.
      Returns:
      the info
    • getOrder

      @Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
      Generated method - Getter of the PaymentTransaction.order attribute defined at extension payment.
      Returns:
      the order
    • getPaymentProvider

      @Accessor(qualifier="paymentProvider", type=GETTER) public String getPaymentProvider()
      Generated method - Getter of the PaymentTransaction.paymentProvider attribute defined at extension payment.
      Returns:
      the paymentProvider
    • getPlannedAmount

      @Accessor(qualifier="plannedAmount", type=GETTER) public BigDecimal getPlannedAmount()
      Generated method - Getter of the PaymentTransaction.plannedAmount attribute defined at extension payment.
      Returns:
      the plannedAmount
    • getRequestId

      @Accessor(qualifier="requestId", type=GETTER) public String getRequestId()
      Generated method - Getter of the PaymentTransaction.requestId attribute defined at extension payment.
      Returns:
      the requestId
    • getRequestToken

      @Accessor(qualifier="requestToken", type=GETTER) public String getRequestToken()
      Generated method - Getter of the PaymentTransaction.requestToken attribute defined at extension payment.
      Returns:
      the requestToken
    • getVersionID

      @Accessor(qualifier="versionID", type=GETTER) public String getVersionID()
      Generated method - Getter of the PaymentTransaction.versionID attribute defined at extension payment.
      Returns:
      the versionID
    • setCode

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

      @Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
      Generated method - Setter of PaymentTransaction.currency attribute defined at extension payment.
      Parameters:
      value - the currency
    • setEntries

      @Accessor(qualifier="entries", type=SETTER) public void setEntries(List<PaymentTransactionEntryModel> value)
      Generated method - Setter of PaymentTransaction.entries attribute defined at extension payment.
      Parameters:
      value - the entries
    • setInfo

      @Accessor(qualifier="info", type=SETTER) public void setInfo(PaymentInfoModel value)
      Generated method - Setter of PaymentTransaction.info attribute defined at extension payment.
      Parameters:
      value - the info
    • setOrder

      @Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
      Generated method - Setter of PaymentTransaction.order attribute defined at extension payment.
      Parameters:
      value - the order
    • setPaymentProvider

      @Accessor(qualifier="paymentProvider", type=SETTER) public void setPaymentProvider(String value)
      Generated method - Setter of PaymentTransaction.paymentProvider attribute defined at extension payment.
      Parameters:
      value - the paymentProvider
    • setPlannedAmount

      @Accessor(qualifier="plannedAmount", type=SETTER) public void setPlannedAmount(BigDecimal value)
      Generated method - Setter of PaymentTransaction.plannedAmount attribute defined at extension payment.
      Parameters:
      value - the plannedAmount
    • setRequestId

      @Accessor(qualifier="requestId", type=SETTER) public void setRequestId(String value)
      Generated method - Setter of PaymentTransaction.requestId attribute defined at extension payment.
      Parameters:
      value - the requestId
    • setRequestToken

      @Accessor(qualifier="requestToken", type=SETTER) public void setRequestToken(String value)
      Generated method - Setter of PaymentTransaction.requestToken attribute defined at extension payment.
      Parameters:
      value - the requestToken
    • setVersionID

      @Accessor(qualifier="versionID", type=SETTER) public void setVersionID(String value)
      Generated method - Initial setter of PaymentTransaction.versionID attribute defined at extension payment. Can only be used at creation of model - before first save.
      Parameters:
      value - the versionID