Class XMLTransformationHelper

Description

Located in /XMLTransformationHelper.php (line 8)


	
			
Variable Summary
Method Summary
static bool isNewObject (ElementFacade $facade, String $attributeName)
static void queryParametersToXML (ElementFacade $facade, HashMap $parameters)
XMLTransformationHelper __construct ([ElementFacade $facade = null])
void addAtribute (String $attributeName, Object $value)
void addClientProperties (HashMap $config)
void adjustmentFromXML (Adjustment $clientObject)
void adjustmentToXML (Adjustment $clientObject)
void assetTransactionToXML (AssetTransaction $clientObject)
void captureInfoFromXML (CaptureInfo $clientObject)
void captureInfoToXML (CaptureInfo $clientObject)
void chargeFromXML (Charge $clientObject)
void chargeToXML (Charge $clientObject)
void customerAccountFromXML (CustomerAccount $clientObject)
void customerAccountToXML (CustomerAccount $clientObject)
bool getBoolean (String $attributeName)
int getCountCharge (ArrayList $children)
DateTime getDate (String $attributeName)
int getInteger (String $attributeName)
int getLong (String $attributeName)
String getString (String $attributeName)
bool isAttributeValueNull (String $attributeName)
void paymentOptionFromXML (PaymentOption $clientObject, TransformationContext $context)
void paymentOptionToXML (PaymentOption $clientObject)
void paymentPlanFromXML (PaymentPlan $clientObject, TransformationContext $context)
void paymentPlanToXML (PaymentPlan $clientObject)
Variables
ElementFacade $facade (line 12)
  • var: The facade.
  • access: private
Methods
static method isNewObject (line 680)

Checks if is new object.

Checks if is new object.

  • return: true, if is new object
  • access: public
static bool isNewObject (ElementFacade $facade, String $attributeName)
  • ElementFacade $facade: facade the facade
  • String $attributeName: attributeName the attribute name
static method queryParametersToXML (line 533)

Query parameters to xml.

Query parameters to xml.

  • access: public
static void queryParametersToXML (ElementFacade $facade, HashMap $parameters)
Constructor __construct (line 18)

Instantiates a new xML transformation helper.

Instantiates a new xML transformation helper.

XMLTransformationHelper __construct ([ElementFacade $facade = null])
addAtribute (line 745)

Adds the atribute.

Adds the atribute.

  • access: private
void addAtribute (String $attributeName, Object $value)
  • String $attributeName: attributeName the attribute name
  • Object $value: value the value
addClientProperties (line 668)

Adds the client properties.

Adds the client properties.

  • access: public
void addClientProperties (HashMap $config)
  • HashMap $config: config the config
adjustmentFromXML (line 350)

Adjustment from xml.

Adjustment from xml.

  • access: private
void adjustmentFromXML (Adjustment $clientObject)
  • Adjustment $clientObject: clientObject the client object
adjustmentToXML (line 336)

Adjustment to xml.

Adjustment to xml.

  • access: private
void adjustmentToXML (Adjustment $clientObject)
  • Adjustment $clientObject: clientObject the client object
assetTransactionFromXML (line 246)

Asset transaction from xml.

Asset transaction from xml.

  • access: public
void assetTransactionFromXML (AssetTransaction $clientObject, TransformationContext $context)
assetTransactionToXML (line 207)

Asset transaction to xml.

Asset transaction to xml.

  • access: public
void assetTransactionToXML (AssetTransaction $clientObject)
captureInfoFromXML (line 316)

Capture info from xml.

Capture info from xml.

  • access: private
void captureInfoFromXML (CaptureInfo $clientObject)
  • CaptureInfo $clientObject: clientObject the client object
captureInfoToXML (line 287)

Capture info to xml.

Capture info to xml.

  • access: private
void captureInfoToXML (CaptureInfo $clientObject)
  • CaptureInfo $clientObject: clientObject the client object
chargeFromXML (line 378)

Charge from xml.

Charge from xml.

  • access: private
void chargeFromXML (Charge $clientObject)
  • Charge $clientObject: clientObject the client object
chargeToXML (line 362)

Charge to xml.

Charge to xml.

  • access: private
void chargeToXML (Charge $clientObject)
  • Charge $clientObject: clientObject the client object
customerAccountFromXML (line 62)

Customer account from xml.

Customer account from xml.

  • access: public
void customerAccountFromXML (CustomerAccount $clientObject)
customerAccountToXML (line 27)

Customer account to xml.

Customer account to xml.

  • access: public
void customerAccountToXML (CustomerAccount $clientObject)
getAccountTransactionParameters (line 633)

Gets the account transaction parameters.

Gets the account transaction parameters.

  • return: the account transaction parameters
  • access: public
HashMap getAccountTransactionParameters ()
getBoolean (line 724)

Gets the boolean.

Gets the boolean.

  • return: the boolean
  • access: private
bool getBoolean (String $attributeName)
  • String $attributeName: attributeName the attribute name
getClientProperties (line 657)

Gets the client properties.

Gets the client properties.

  • return: the client properties
  • access: public
HashMap getClientProperties ()
getCountCharge (line 767)

Gets the count charge.

Gets the count charge.

  • return: the count charge
  • access: private
int getCountCharge (ArrayList $children)
getCustomerAccountParameters (line 547)

Gets the customer account parameters.

Gets the customer account parameters.

  • return: the customer account parameters
  • access: public
HashMap getCustomerAccountParameters ()
getDate (line 735)

Gets the date.

Gets the date.

  • return: the date
  • access: private
DateTime getDate (String $attributeName)
  • String $attributeName: attributeName the attribute name
getInteger (line 702)

Gets the integer.

Gets the integer.

  • return: the integer
  • access: private
int getInteger (String $attributeName)
  • String $attributeName: attributeName the attribute name
getLengthPaymentPlan (line 784)

Gets the length payment plan.

Gets the length payment plan.

  • return: the length payment plan
  • access: private
int getLengthPaymentPlan (ArrayList $charges)
getLong (line 713)

Gets the long.

Gets the long.

  • return: the long
  • access: private
int getLong (String $attributeName)
  • String $attributeName: attributeName the attribute name
getPaymentOptionParameters (line 575)

Gets the payment option parameters.

Gets the payment option parameters.

  • return: the payment option parameters
  • access: public
HashMap getPaymentOptionParameters ()
getPaymentPlanParameters (line 600)

Gets the payment plan parameters.

Gets the payment plan parameters.

  • return: the payment plan parameters
  • access: public
HashMap getPaymentPlanParameters ()
getString (line 691)

Gets the string.

Gets the string.

  • return: the string
  • access: private
String getString (String $attributeName)
  • String $attributeName: attributeName the attribute name
isAttributeValueNull (line 756)

Checks if is attribute value null.

Checks if is attribute value null.

  • return: true, if is attribute value null
  • access: private
bool isAttributeValueNull (String $attributeName)
  • String $attributeName: attributeName the attribute name
paymentOptionFromXML (line 120)

Payment option from xml.

Payment option from xml.

  • access: public
void paymentOptionFromXML (PaymentOption $clientObject, TransformationContext $context)
paymentOptionToXML (line 92)

Payment option to xml.

Payment option to xml.

  • access: public
void paymentOptionToXML (PaymentOption $clientObject)
paymentPlanFromXML (line 452)

Payment plan from xml.

Payment plan from xml.

  • access: public
void paymentPlanFromXML (PaymentPlan $clientObject, TransformationContext $context)
paymentPlanToXML (line 393)

Payment plan to xml.

Payment plan to xml.

  • access: public
void paymentPlanToXML (PaymentPlan $clientObject)
  • PaymentPlan $clientObject: clientObject the client object
revenueTransactionFromXML (line 177)

Revenue transaction from xml.

Revenue transaction from xml.

  • access: public
void revenueTransactionFromXML (RevenueTransaction $clientObject, TransformationContext $context)
revenueTransactionToXML (line 145)

Revenue transaction to xml.

Revenue transaction to xml.

  • access: public
void revenueTransactionToXML (RevenueTransaction $clientObject)

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