Class TransformationContext

Description

Located in /TransformationContext.php (line 8)


	
			
Variable Summary
Method Summary
TransformationContext __construct ()
void addPaymentOptionElement (ElementFacade $root, PaymentOption $paymentOption)
void addPaymentPlanElement (ElementFacade $root, PaymentPlan $paymentPlan)
ArrayList deserializeList (ElementFacade $facade, bool $isQueryResponse)
AssetTransaction getAssetTransaction (ElementFacade $facade, String $attributeName)
CustomerAccount getCustomerAccount (ElementFacade $facade, String $attributeName)
String getPassword (ElementFacade $facade)
PaymentOption getPaymentOption (ElementFacade $facade, String $attributeName)
PaymentPlan getPaymentPlan (ElementFacade $facade, String $attributeName)
String getQueryId (ElementFacade $facade)
RevenueTransaction getRevenueTransaction (ElementFacade $facade, String $attributeName)
bool isQueryRequest (ElementFacade $facade)
ElementFacade serealizeQuery (int $merchantAccountCode, String $password, String $queryName, HashMap $parameters)
ElementFacade serializeList (int $merchantAccountCode, String $password, ArrayList $list, HashMap $config)
Variables
HashMap $assetTransactions (line 24)
  • var: The asset transactions.
  • access: private
HashMap $customerAccounts (line 12)
  • var: The customer accounts.
  • access: private
HashMap $paymentOptions (line 16)
  • var: The payment options.
  • access: private
HashMap $paymentPlans (line 28)
  • var: The payment plans.
  • access: private
HashMap $revenueTransactions (line 20)
  • var: The revenue transactions.
  • access: private
Methods
Constructor __construct (line 29)
TransformationContext __construct ()
addAssetTransactionElement (line 424)

Adds the asset transaction element.

Adds the asset transaction element.

  • access: private
void addAssetTransactionElement (ElementFacade $root, AssetTransaction $transaction)
addPaymentOptionElement (line 388)

Adds the payment option element.

Adds the payment option element.

  • access: private
void addPaymentOptionElement (ElementFacade $root, PaymentOption $paymentOption)
addPaymentPlanElement (line 400)

Adds the payment plan element.

Adds the payment plan element.

  • access: private
void addPaymentPlanElement (ElementFacade $root, PaymentPlan $paymentPlan)
addRevenueTransactionElement (line 412)

Adds the revenue transaction element.

Adds the revenue transaction element.

  • access: private
void addRevenueTransactionElement (ElementFacade $root, RevenueTransaction $transaction)
deserealizeQueryParameters (line 178)

Deserealize query parameters.

Deserealize query parameters.

  • return: the map< string, object>
  • access: public
HashMap deserealizeQueryParameters (ElementFacade $facade)
deserializeList (line 110)

Deserialize list.

Deserialize list.

  • return: the list
  • access: public
ArrayList deserializeList (ElementFacade $facade, bool $isQueryResponse)
  • ElementFacade $facade: facade the facade
  • bool $isQueryResponse: isQueryResponse the is query response
getAssetTransaction (line 333)

Gets the asset transaction.

Gets the asset transaction.

  • return: the asset transaction
  • access: public
AssetTransaction getAssetTransaction (ElementFacade $facade, String $attributeName)
  • ElementFacade $facade: facade the facade
  • String $attributeName: attributeName the attribute name
getCustomerAccount (line 267)

Gets the customer account.

Gets the customer account.

  • return: the customer account
  • access: public
CustomerAccount getCustomerAccount (ElementFacade $facade, String $attributeName)
  • ElementFacade $facade: facade the facade
  • String $attributeName: attributeName the attribute name
getCustomerAccounts (line 374)

Gets the customer accounts.

Gets the customer accounts.

  • return: the customer accounts
  • access: private
ArrayList getCustomerAccounts ()
getMerchantAccountCode (line 211)

Gets the merchant account code.

Gets the merchant account code.

  • return: the merchant account code
  • access: public
int getMerchantAccountCode (ElementFacade $facade)
getPassword (line 222)

Gets the password.

Gets the password.

  • return: the password
  • access: public
String getPassword (ElementFacade $facade)
getPaymentOption (line 289)

Gets the payment option.

Gets the payment option.

  • return: the payment option
  • access: public
PaymentOption getPaymentOption (ElementFacade $facade, String $attributeName)
  • ElementFacade $facade: facade the facade
  • String $attributeName: attributeName the attribute name
getPaymentPlan (line 355)

Gets the payment plan.

Gets the payment plan.

  • return: the payment plan
  • access: public
PaymentPlan getPaymentPlan (ElementFacade $facade, String $attributeName)
  • ElementFacade $facade: facade the facade
  • String $attributeName: attributeName the attribute name
getQueryId (line 244)

Gets the query id.

Gets the query id.

  • return: the query id
  • access: public
String getQueryId (ElementFacade $facade)
getRevenueTransaction (line 311)

Gets the revenue transaction.

Gets the revenue transaction.

  • return: the revenue transaction
  • access: public
RevenueTransaction getRevenueTransaction (ElementFacade $facade, String $attributeName)
  • ElementFacade $facade: facade the facade
  • String $attributeName: attributeName the attribute name
getVerificationAmount (line 233)

Gets the verification amount.

Gets the verification amount.

  • return: the verification amount
  • access: public
int getVerificationAmount (ElementFacade $facade)
isQueryRequest (line 255)

Checks if is query request.

Checks if is query request.

  • return: true, if is query request
  • access: public
bool isQueryRequest (ElementFacade $facade)
serealizeQuery (line 162)

Serealize query.

Serealize query.

  • return: the element facade
  • access: public
ElementFacade serealizeQuery (int $merchantAccountCode, String $password, String $queryName, HashMap $parameters)
  • int $merchantAccountCode: merchantAccountCode the merchant account code
  • String $password: password the password
  • String $queryName: queryName the query name
  • HashMap $parameters: parameters the parameters
serializeList (line 47)

Serialize list.

Serialize list.

  • return: the element facade
  • access: public
ElementFacade serializeList (int $merchantAccountCode, String $password, ArrayList $list, HashMap $config)
  • int $merchantAccountCode: merchantAccountCode the merchant account code
  • String $password: password the password
  • ArrayList $list: list the list
  • HashMap $config: config the config

Documentation generated on Thu, 20 Mar 2008 16:22:35 -0400 by phpDocumentor 1.4.0