com.ibm.commerce.order.objects
Class OrderPaymentMethodBean

com.ibm.commerce.order.objects.OrderPaymentMethodBean
All Implemented Interfaces:
java.io.Serializable

public class OrderPaymentMethodBean
implements java.io.Serializable

This bean provides access to the ORDPAYMTHD table.

The following is a description of this table:

The Order Payment Method table contains order payment or refund methods selected for an order. It is also used to keep track of the actual amount charged or refunded against the order.

See Also:
Serialized Form

Constructor Summary
OrderPaymentMethodBean()
           
 
Method Summary
 java.lang.Long getAccountId()
          This method provides access to the ORDPAYMTHD.ACCOUNT_ID column of DB2 type BIGINT NULL.
 java.math.BigDecimal getActualAmount()
          This method provides access to the ORDPAYMTHD.ACTUALAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.Long getBigIntField1()
          This method provides access to the ORDPAYMTHD.BIGINTFIELD1 column of DB2 type BIGINT NULL.
 java.lang.Long getBigIntField2()
          This method provides access to the ORDPAYMTHD.BIGINTFIELD2 column of DB2 type BIGINT NULL.
 java.lang.Long getBigIntField3()
          This method provides access to the ORDPAYMTHD.BIGINTFIELD3 column of DB2 type BIGINT NULL.
 java.lang.Long getBuyerPurchaseOrderId()
          This method provides access to the ORDPAYMTHD.BUYERPO_ID column of DB2 type BIGINT NULL.
 java.math.BigDecimal getChargeAmount()
          This method provides access to the ORDPAYMTHD.CHARGEAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getChargeAmountCurrency()
          This method provides access to the ORDPAYMTHD.CHARGEAMTCURR column of DB2 type CHAR(3) NULL.
 java.sql.Timestamp getChargeTime()
          This method provides access to the ORDPAYMTHD.CHARGETIME column of DB2 type TIMESTAMP NULL.
 java.lang.Long getCreditLineId()
          This method provides access to the ORDPAYMTHD.CREDITLINE_ID column of DB2 type BIGINT NULL.
 java.math.BigDecimal getDecimalField1()
          This method provides access to the ORDPAYMTHD.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getDecimalField2()
          This method provides access to the ORDPAYMTHD.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getDecimalField3()
          This method provides access to the ORDPAYMTHD.DECIMALFIELD3 column of DB2 type DECIMAL(20,5) NULL.
 java.sql.Timestamp getEndDate()
          This method provides access to the ORDPAYMTHD.ENDDATE column of DB2 type TIMESTAMP NULL.
 java.math.BigDecimal getMaximumAuthorizationAmount()
          This method provides access to the ORDPAYMTHD.MAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.Long getOrderId()
          This method provides access to the ORDPAYMTHD.BUYERPO_ID column of DB2 type BIGINT NULL.
 java.lang.String getPaymentDevice()
          This method provides access to the ORDPAYMTHD.PAYDEVICE column of DB2 type CHAR(64) NOT NULL.
 java.lang.String getPaymentMethodID()
          This method provides access to the ORDPAYMTHD.PAYMETHOD column of DB2 type CHAR(5) NOT NULL.
 java.lang.Long getPaymentSummaryId()
          This method provides access to the ORDPAYMTHD.PAYSUMMARY_ID column of DB2 type BIGINT NULL.
 java.lang.Long getPolicyId()
          This method provides access to the ORDPAYMTHD.POLICY_ID column of DB2 type BIGINT NULL.
 java.lang.Long getRefundNumber()
          This method provides access to the ORDPAYMTHD.REFUNDNUMBER column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaId()
          This method provides access to the ORDPAYMTHD.RMA_ID column of DB2 type BIGINT NULL.
 java.sql.Timestamp getStartDate()
          This method provides access to the ORDPAYMTHD.STARTDATE column of DB2 type TIMESTAMP NULL.
 java.lang.Integer getStatus()
          This method provides access to the ORDPAYMTHD.STATUS column of DB2 type INTEGER NULL.
 java.lang.String getStringField1()
          This method provides access to the ORDPAYMTHD.STRINGFIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getStringField2()
          This method provides access to the ORDPAYMTHD.STRINGFIELD2 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getStringField3()
          This method provides access to the ORDPAYMTHD.STRINGFIELD3 column of DB2 type VARCHAR(254) NULL.
 java.lang.Long getTradingId()
          This method provides access to the ORDPAYMTHD.TRADING_ID column of DB2 type BIGINT NULL.
 void setAccountId(java.lang.Long aAccountId)
          This method provides access to the ORDPAYMTHD.ACCOUNT_ID column of DB2 type BIGINT NULL.
 void setActualAmount(java.math.BigDecimal aActualAmount)
          This method provides access to the ORDPAYMTHD.ACTUALAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setBigIntField1(java.lang.Long aBigIntField1)
          This method provides access to the ORDPAYMTHD.BIGINTFIELD1 column of DB2 type BIGINT NULL.
 void setBigIntField2(java.lang.Long aBigIntField2)
          This method provides access to the ORDPAYMTHD.BIGINTFIELD2 column of DB2 type BIGINT NULL.
 void setBigIntField3(java.lang.Long aBigIntField3)
          This method provides access to the ORDPAYMTHD.BIGINTFIELD3 column of DB2 type BIGINT NULL.
 void setBuyerPurchaseOrderId(java.lang.Long aBuyerPurchaseOrderId)
          This method provides access to the ORDPAYMTHD.BUYERPO_ID column of DB2 type BIGINT NULL.
 void setChargeAmount(java.math.BigDecimal aChargeAmount)
          This method provides access to the ORDPAYMTHD.CHARGEAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setChargeAmountCurrency(java.lang.String aChargeAmountCurrency)
          This method provides access to the ORDPAYMTHD.CHARGEAMTCURR column of DB2 type CHAR(3) NULL.
 void setChargeTime(java.sql.Timestamp aChargeTime)
          This method provides access to the ORDPAYMTHD.CHARGETIME column of DB2 type TIMESTAMP NULL.
 void setCreditLineId(java.lang.Long aCreditLineId)
          This method provides access to the ORDPAYMTHD.CREDITLINE_ID column of DB2 type BIGINT NULL.
 void setDecimalField1(java.math.BigDecimal aDecimalField1)
          This method provides access to the ORDPAYMTHD.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
 void setDecimalField2(java.math.BigDecimal aDecimalField2)
          This method provides access to the ORDPAYMTHD.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setDecimalField3(java.math.BigDecimal aDecimalField3)
          This method provides access to the ORDPAYMTHD.DECIMALFIELD3 column of DB2 type DECIMAL(20,5) NULL.
 void setEndDate(java.sql.Timestamp aEndDate)
          This method provides access to the ORDPAYMTHD.ENDDATE column of DB2 type TIMESTAMP NULL.
 void setMaximumAuthorizationAmount(java.math.BigDecimal aMaximumAuthorizationAmount)
          This method provides access to the ORDPAYMTHD.MAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setOrderId(java.lang.Long aOrderId)
          This method provides access to the ORDPAYMTHD.BUYERPO_ID column of DB2 type BIGINT NULL.
 void setPaymentSummaryId(java.lang.Long aPaymentSummaryId)
          This method provides access to the ORDPAYMTHD.PAYSUMMARY_ID column of DB2 type BIGINT NULL.
 void setPolicyId(java.lang.Long aPolicyId)
          This method provides access to the ORDPAYMTHD.POLICY_ID column of DB2 type BIGINT NULL.
 void setRefundNumber(java.lang.Long aRefundNumber)
          This method provides access to the ORDPAYMTHD.REFUNDNUMBER column of DB2 type BIGINT NOT NULL.
 void setRmaId(java.lang.Long aRmaId)
          This method provides access to the ORDPAYMTHD.RMA_ID column of DB2 type BIGINT NULL.
 void setStartDate(java.sql.Timestamp aStartDate)
          This method provides access to the ORDPAYMTHD.STARTDATE column of DB2 type TIMESTAMP NULL.
 void setStatus(java.lang.Integer aStatus)
          This method provides access to the ORDPAYMTHD.STATUS column of DB2 type INTEGER NULL.
 void setStringField1(java.lang.String aStringField1)
          This method provides access to the ORDPAYMTHD.STRINGFIELD1 column of DB2 type VARCHAR(254) NULL.
 void setStringField2(java.lang.String aStringField2)
          This method provides access to the ORDPAYMTHD.STRINGFIELD2 column of DB2 type VARCHAR(254) NULL.
 void setStringField3(java.lang.String aStringField3)
          This method provides access to the ORDPAYMTHD.STRINGFIELD3 column of DB2 type VARCHAR(254) NULL.
 void setTradingId(java.lang.Long aTradingId)
          This method provides access to the ORDPAYMTHD.TRADING_ID column of DB2 type BIGINT NULL.
 

Constructor Detail

OrderPaymentMethodBean

public OrderPaymentMethodBean()
Method Detail

getAccountId

public java.lang.Long getAccountId()

This method provides access to the ORDPAYMTHD.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account. Foreign key to the ACCOUNT table.

Returns:
java.lang.Long

getActualAmount

public java.math.BigDecimal getActualAmount()

This method provides access to the ORDPAYMTHD.ACTUALAMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Actual amount deposited or refunded for this order. For refunds, this amount is negative. This amount is in the same currency as the Order.

Returns:
java.math.BigDecimal

getBigIntField1

public java.lang.Long getBigIntField1()

This method provides access to the ORDPAYMTHD.BIGINTFIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.Long

getBigIntField2

public java.lang.Long getBigIntField2()

This method provides access to the ORDPAYMTHD.BIGINTFIELD2 column of DB2 type BIGINT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.Long

getBigIntField3

public java.lang.Long getBigIntField3()

This method provides access to the ORDPAYMTHD.BIGINTFIELD3 column of DB2 type BIGINT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.Long

getBuyerPurchaseOrderId

public java.lang.Long getBuyerPurchaseOrderId()

This method provides access to the ORDPAYMTHD.BUYERPO_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID of the BuyerPO representing the buyer purchase order number specified for the Order. Foreign key to the BUYERPO table.

Returns:
java.lang.Long

getChargeAmount

public java.math.BigDecimal getChargeAmount()

This method provides access to the ORDPAYMTHD.CHARGEAMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The actual amount converted to the default currency of the store.

Returns:
java.math.BigDecimal

getChargeAmountCurrency

public java.lang.String getChargeAmountCurrency()

This method provides access to the ORDPAYMTHD.CHARGEAMTCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Currency for the CHARGEAMOUNT column. This is a currency code as per ISO 4217 standards.

Returns:
java.lang.String

getChargeTime

public java.sql.Timestamp getChargeTime()

This method provides access to the ORDPAYMTHD.CHARGETIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time charge amount was updated.

Returns:
java.sql.Timestamp

getCreditLineId

public java.lang.Long getCreditLineId()

This method provides access to the ORDPAYMTHD.CREDITLINE_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID of the credit line to track charges for purchases that have PayMethod equals "LOC". Foreign key to the CREDITLINE table.

Returns:
java.lang.Long

getDecimalField1

public java.math.BigDecimal getDecimalField1()

This method provides access to the ORDPAYMTHD.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.math.BigDecimal

getDecimalField2

public java.math.BigDecimal getDecimalField2()

This method provides access to the ORDPAYMTHD.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.math.BigDecimal

getDecimalField3

public java.math.BigDecimal getDecimalField3()

This method provides access to the ORDPAYMTHD.DECIMALFIELD3 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.math.BigDecimal

getEndDate

public java.sql.Timestamp getEndDate()

This method provides access to the ORDPAYMTHD.ENDDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The end date. The default DoPayment implementation uses this column to hold the credit card expiry date.

Returns:
java.sql.Timestamp

getMaximumAuthorizationAmount

public java.math.BigDecimal getMaximumAuthorizationAmount()

This method provides access to the ORDPAYMTHD.MAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Payment maximum authorization amount.

Returns:
java.math.BigDecimal

getOrderId

public java.lang.Long getOrderId()

This method provides access to the ORDPAYMTHD.BUYERPO_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID of the BuyerPO representing the buyer purchase order number specified for the Order. Foreign key to the BUYERPO table.

Returns:
java.lang.Long

getPaymentDevice

public java.lang.String getPaymentDevice()

This method provides access to the ORDPAYMTHD.PAYDEVICE column of DB2 type CHAR(64) NOT NULL.

The following is a description of this column:

The payment device identifier. The default DoPayment implementation stores the credit card number in this column. The number will be encrypted if PDIEncrypt is set to "on" in the WebSphere Commerce configuration file.

Returns:
java.lang.String

getPaymentMethodID

public java.lang.String getPaymentMethodID()

This method provides access to the ORDPAYMTHD.PAYMETHOD column of DB2 type CHAR(5) NOT NULL.

The following is a description of this column:

The order payment method up to 5 characters. If Payment Manager is used to process payment for the Order this column holds the word "PSRVR". "LOC" is used to indicate payment using CreditLine.

Returns:
java.lang.String

getPaymentSummaryId

public java.lang.Long getPaymentSummaryId()

This method provides access to the ORDPAYMTHD.PAYSUMMARY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Identifies the payment summary entry that this payment is part of. This field is updated when the Payment Summary entry is created by running the PaymentSummaryGenerate command.

Returns:
java.lang.Long

getPolicyId

public java.lang.Long getPolicyId()

This method provides access to the ORDPAYMTHD.POLICY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The payment policy ID which identifies the payment policy used for this purchase.

Returns:
java.lang.Long

getRefundNumber

public java.lang.Long getRefundNumber()

This method provides access to the ORDPAYMTHD.REFUNDNUMBER column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Refund number if this entry represents a refund entry. (For refund, use the return merchandise authorization (RMA) ID as the refund number.)

Returns:
java.lang.Long

getRmaId

public java.lang.Long getRmaId()

This method provides access to the ORDPAYMTHD.RMA_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The return merchandise authorization (RMA) ID for the refund against this order. Foreign key to the RMA table.

Returns:
java.lang.Long

getStartDate

public java.sql.Timestamp getStartDate()

This method provides access to the ORDPAYMTHD.STARTDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The start date. DoPayment implementation may use this for its own purpose. (This column is not used by the default DoPayment implementation.)

Returns:
java.sql.Timestamp

getStatus

public java.lang.Integer getStatus()

This method provides access to the ORDPAYMTHD.STATUS column of DB2 type INTEGER NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.Integer

getStringField1

public java.lang.String getStringField1()

This method provides access to the ORDPAYMTHD.STRINGFIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.String

getStringField2

public java.lang.String getStringField2()

This method provides access to the ORDPAYMTHD.STRINGFIELD2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.String

getStringField3

public java.lang.String getStringField3()

This method provides access to the ORDPAYMTHD.STRINGFIELD3 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.String

getTradingId

public java.lang.Long getTradingId()

This method provides access to the ORDPAYMTHD.TRADING_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID for the Trading Agreement. Usually used for Refund entries only. Foreign key to the Trading table.

Returns:
java.lang.Long

setAccountId

public void setAccountId(java.lang.Long aAccountId)

This method provides access to the ORDPAYMTHD.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account. Foreign key to the ACCOUNT table.

Parameters:
aAccountId - java.lang.Long
Returns:
void

setActualAmount

public void setActualAmount(java.math.BigDecimal aActualAmount)

This method provides access to the ORDPAYMTHD.ACTUALAMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Actual amount deposited or refunded for this order. For refunds, this amount is negative. This amount is in the same currency as the Order.

Parameters:
aActualAmount - java.math.BigDecimal
Returns:
void

setBigIntField1

public void setBigIntField1(java.lang.Long aBigIntField1)

This method provides access to the ORDPAYMTHD.BIGINTFIELD1 column of DB2 type BIGINT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aBigIntField1 - java.lang.Long
Returns:
void

setBigIntField2

public void setBigIntField2(java.lang.Long aBigIntField2)

This method provides access to the ORDPAYMTHD.BIGINTFIELD2 column of DB2 type BIGINT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aBigIntField2 - java.lang.Long
Returns:
void

setBigIntField3

public void setBigIntField3(java.lang.Long aBigIntField3)

This method provides access to the ORDPAYMTHD.BIGINTFIELD3 column of DB2 type BIGINT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aBigIntField3 - java.lang.Long
Returns:
void

setBuyerPurchaseOrderId

public void setBuyerPurchaseOrderId(java.lang.Long aBuyerPurchaseOrderId)

This method provides access to the ORDPAYMTHD.BUYERPO_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID of the BuyerPO representing the buyer purchase order number specified for the Order. Foreign key to the BUYERPO table.

Parameters:
aBuyerPurchaseOrderId - java.lang.Long
Returns:
void

setChargeAmount

public void setChargeAmount(java.math.BigDecimal aChargeAmount)

This method provides access to the ORDPAYMTHD.CHARGEAMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The actual amount converted to the default currency of the store.

Parameters:
aChargeAmount - java.math.BigDecimal
Returns:
void

setChargeAmountCurrency

public void setChargeAmountCurrency(java.lang.String aChargeAmountCurrency)

This method provides access to the ORDPAYMTHD.CHARGEAMTCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Currency for the CHARGEAMOUNT column. This is a currency code as per ISO 4217 standards.

Parameters:
aChargeAmountCurrency - java.lang.String
Returns:
void

setChargeTime

public void setChargeTime(java.sql.Timestamp aChargeTime)

This method provides access to the ORDPAYMTHD.CHARGETIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time charge amount was updated.

Parameters:
aChargeTime - java.sql.Timestamp
Returns:
void

setCreditLineId

public void setCreditLineId(java.lang.Long aCreditLineId)

This method provides access to the ORDPAYMTHD.CREDITLINE_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID of the credit line to track charges for purchases that have PayMethod equals "LOC". Foreign key to the CREDITLINE table.

Parameters:
aCreditLineId - java.lang.Long
Returns:
void

setDecimalField1

public void setDecimalField1(java.math.BigDecimal aDecimalField1)

This method provides access to the ORDPAYMTHD.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aDecimalField1 - java.math.BigDecimal
Returns:
void

setDecimalField2

public void setDecimalField2(java.math.BigDecimal aDecimalField2)

This method provides access to the ORDPAYMTHD.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aDecimalField2 - java.math.BigDecimal
Returns:
void

setDecimalField3

public void setDecimalField3(java.math.BigDecimal aDecimalField3)

This method provides access to the ORDPAYMTHD.DECIMALFIELD3 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aDecimalField3 - java.math.BigDecimal
Returns:
void

setEndDate

public void setEndDate(java.sql.Timestamp aEndDate)

This method provides access to the ORDPAYMTHD.ENDDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The end date. The default DoPayment implementation uses this column to hold the credit card expiry date.

Parameters:
aEndDate - java.sql.Timestamp
Returns:
void

setMaximumAuthorizationAmount

public void setMaximumAuthorizationAmount(java.math.BigDecimal aMaximumAuthorizationAmount)

This method provides access to the ORDPAYMTHD.MAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Payment maximum authorization amount.

Parameters:
aMaximumAuthorizationAmount - java.math.BigDecimal
Returns:
void

setOrderId

public void setOrderId(java.lang.Long aOrderId)

This method provides access to the ORDPAYMTHD.BUYERPO_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID of the BuyerPO representing the buyer purchase order number specified for the Order. Foreign key to the BUYERPO table.

Parameters:
aOrderId - java.lang.Long
Returns:
void

setPaymentSummaryId

public void setPaymentSummaryId(java.lang.Long aPaymentSummaryId)

This method provides access to the ORDPAYMTHD.PAYSUMMARY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Identifies the payment summary entry that this payment is part of. This field is updated when the Payment Summary entry is created by running the PaymentSummaryGenerate command.

Parameters:
aPaymentSummaryId - java.lang.Long
Returns:
void

setPolicyId

public void setPolicyId(java.lang.Long aPolicyId)

This method provides access to the ORDPAYMTHD.POLICY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The payment policy ID which identifies the payment policy used for this purchase.

Parameters:
aPolicyId - java.lang.Long
Returns:
void

setRefundNumber

public void setRefundNumber(java.lang.Long aRefundNumber)

This method provides access to the ORDPAYMTHD.REFUNDNUMBER column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Refund number if this entry represents a refund entry. (For refund, use the return merchandise authorization (RMA) ID as the refund number.)

Parameters:
aRefundNumber - java.lang.Long
Returns:
void

setRmaId

public void setRmaId(java.lang.Long aRmaId)

This method provides access to the ORDPAYMTHD.RMA_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The return merchandise authorization (RMA) ID for the refund against this order. Foreign key to the RMA table.

Parameters:
aRmaId - java.lang.Long
Returns:
void

setStartDate

public void setStartDate(java.sql.Timestamp aStartDate)

This method provides access to the ORDPAYMTHD.STARTDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The start date. DoPayment implementation may use this for its own purpose. (This column is not used by the default DoPayment implementation.)

Parameters:
aStartDate - java.sql.Timestamp
Returns:
void

setStatus

public void setStatus(java.lang.Integer aStatus)

This method provides access to the ORDPAYMTHD.STATUS column of DB2 type INTEGER NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aStatus - java.lang.Integer
Returns:
void

setStringField1

public void setStringField1(java.lang.String aStringField1)

This method provides access to the ORDPAYMTHD.STRINGFIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aStringField1 - java.lang.String
Returns:
void

setStringField2

public void setStringField2(java.lang.String aStringField2)

This method provides access to the ORDPAYMTHD.STRINGFIELD2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aStringField2 - java.lang.String
Returns:
void

setStringField3

public void setStringField3(java.lang.String aStringField3)

This method provides access to the ORDPAYMTHD.STRINGFIELD3 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aStringField3 - java.lang.String
Returns:
void

setTradingId

public void setTradingId(java.lang.Long aTradingId)

This method provides access to the ORDPAYMTHD.TRADING_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

ID for the Trading Agreement. Usually used for Refund entries only. Foreign key to the Trading table.

Parameters:
aTradingId - java.lang.Long
Returns:
void