Assert.assertEquals(invoicePayment.getCardType(), cardType); Assert.assertEquals(invoicePayment.getCreatedDate(), createdDate); Assert.assertEquals(invoicePayment.getCurrency(), currency); Assert.assertEquals(invoicePayment.getEffectiveDate(), effectiveDate); Assert.assertEquals(invoicePayment.getInvoiceId(), invoiceId);
q.bind("currency", invoicePayment.getCurrency().toString()); q.bind("payment_error", invoicePayment.getPaymentError()); q.bind("processing_status", invoicePayment.getProcessingStatus());
public DefaultBusinessInvoicePayment(final BusinessInvoicePaymentModelDao businessInvoicePaymentModelDao) { this.paymentId = businessInvoicePaymentModelDao.getPaymentId(); this.extFirstPaymentRefId = businessInvoicePaymentModelDao.getExtFirstPaymentRefId(); this.extSecondPaymentRefId = businessInvoicePaymentModelDao.getExtSecondPaymentRefId(); this.accountKey = businessInvoicePaymentModelDao.getAccountKey(); this.invoiceId = businessInvoicePaymentModelDao.getInvoiceId(); this.effectiveDate = businessInvoicePaymentModelDao.getEffectiveDate(); this.amount = businessInvoicePaymentModelDao.getAmount(); this.currency = businessInvoicePaymentModelDao.getCurrency(); this.paymentError = businessInvoicePaymentModelDao.getPaymentError(); this.processingStatus = businessInvoicePaymentModelDao.getProcessingStatus(); this.requestedAmount = businessInvoicePaymentModelDao.getRequestedAmount(); this.pluginName = businessInvoicePaymentModelDao.getPluginName(); this.paymentType = businessInvoicePaymentModelDao.getPaymentType(); this.paymentMethod = businessInvoicePaymentModelDao.getPaymentMethod(); this.cardType = businessInvoicePaymentModelDao.getCardType(); this.cardCountry = businessInvoicePaymentModelDao.getCardCountry(); this.invoicePaymentType = businessInvoicePaymentModelDao.getInvoicePaymentType(); this.linkedInvoicePaymentId = businessInvoicePaymentModelDao.getLinkedInvoicePaymentId(); }