TransactionParameter Class

Acts as a container to store calculation-specific information.

blng

The following are methods for TransactionParameter.

Sets RequestingInvoiceId.

global void setRequestingInvoiceId(Id requestingInvoiceId)

requestingInvoiceId: Type: Id

Type: void

Gets Requesting InvoiceId.

global Id getRequestingInvoiceId()

Type: Id

Sets cardCodeResponse.

global void setCardCodeResponse(String cardCodeResponse)

cardCodeResponse: Type: String

Type: void

Gets cardCodeResponse.

global String getCardCodeResponse()

Type: String

Sets requestingCreditCardNumber.

global void setCardNumber(String requestingCreditCardNumber)

requestingCreditCardNumber: Type: String

Type: void

Gets requestingCreditCardNumber.

global String getCardNumber()

Type: String

Sets payment details like merchantRefId, RequestCreditCardNumber__c, CardCodeResponse__c, GatewayID__c. Also sets payment method details for PaymentType__c, CardExpirationYear__c, CardExpirationMonth__c, BankName__c, BankAccountType__c, BankAccountNumber__c, BankAccountName__c, CardType__c, BankRoutingCode__c if they aren’t already set.

global void setPayment(Payment__c paymentInstance)

paymentInstance: Type: Payment__c

Type: void

Gets Payment.

global Payment__c getPayment()

Type: Payment__c

Gets merchantRefId.

global String getMerchantId()

Type: String

Sets MerchantId.

global String setMerchantId()

Type: String

Gets Gateway ID.

global String getGatewayId()

Type: String

Gets ResponseValueByKey

global Map<String, String> getResponseValueByKey()

Type: Map<String, String>

Sets Gateway ID.

global void setGateway(PaymentGateway__c gateway)

gateway: Type: PaymentGateway__c

Type: void

Sets PaymentMethod.

global void setPaymentMethod(PaymentMethod__c paymentMethod)

paymentMethod: Type: PaymentMethod__c

Type: void

Gets PaymentMethod.

global PaymentMethod__c getPaymentMethod()

Type: PaymentMethod__c

Sets invoice.

global void setInvoice(Invoice__c invoice)

invoice: Type: Invoice__c

Type: void

Gets Invoice.

global Invoice__c getInvoice()

Type: Invoice__c

Sets the input parameters for a payment capture transaction.

global void setInputParameter(InputParameter inputParameter)

inputParameter: Type: InputParameter

Type: void

Returns the input parameters sent from the inputParameter class.

global InputParameter getInputParameter()

Type: InputParameter

Sets listOfInvoiceLine.

global void setInvoiceLine(InvoiceLine__c line)

line: Type: InvoiceLine__c

Type: void

Gets listOfInvoiceLine.

global List<InvoiceLine__c> getInvoiceLine()

Type: List<InvoiceLine__c>

Sets transaction instance and details like merchantRefId, RequestCreditCardNumber, ResponseCode, and GatewayID.

global void setTransaction(PaymentTransaction__c transactionInstance)

transactionInstance: Type: PaymentTransaction__c

Type: void

Gets Transaction.

global PaymentTransaction__c getTransaction()

Type: PaymentTransaction__c

Sets Account.

global void setAccount(Account accountInstance)

accountInstance: Type: Account

Type: void

Gets Account.

global Account getAccount()

Type: Account

Sets RequestBody.

global void setRequestBody(String requestBody)

requestBody: Type: String

Type: void

Gets RequestBody.

global String getRequestBody()

Type: String

Sets FirstName.

global void setFirstName(String firstName)

firstName: Type: String

Type: void

Gets FirstName.

global String getFirstName()

Type: String

Sets LastName.

global void setLastName(String lastName)

lastName: Type: String

Type: void

Gets LastName.

global String getLastName()

Type: String

Sets EmailId.

global void setEmailId(String emailId)

emailId: Type: String

Type: void

Gets EmailId.

global String getEmailId()

Type: String

Sets street.

global void setStreet(String street)

street: Type: String

Type: void

Gets Street.

global String getStreet()

Type: String

Sets City.

global void setCity(String city)

city: Type: String

Type: void

Gets City.

global String getCity()

Type: String

Sets state.

global void setState(String state)

state: Type: String

Type: void

Gets State.

global String getState()

Type: String

Sets zip code.

global void setZipCode(String zipCode)

zipCode: Type: String

Type: void

Gets ZipCode.

global String getZipCode()

Type: String

Sets Country.

global void setCountry(String country)

country: Type: String

Type: void

Gets Country.

global String getCountry()

Type: String

Sets phone.

global void setPhone(String phone)

phone: Type: String

Type: void

Gets Phone.

global String getPhone()

Type: String

Sets Currency Id.

global void setCurrencyId(String currencyId)

currencyId: Type: String

Type: void

Gets Currency Id.

global String getCurrencyId()

Type: String

Sets amount.

global void setAmount(String amount)

amount: Type: String

Type: void

Gets Amount.

global String getAmount()

Type: String