- Every name begins with
vin_ - Followed by the object type you want to create:
vin_Transaction_ - Followed by the name of the data member you want to set:
vin_Transaction_amount - Followed by the value for the data member:
vin_Transaction_amount => 100
vin_PaymentMethod_billingAddress_addr1 => "1639 Harrison Ave."
In creating forms, use the format:
<input type="text" name="vin_Transaction_transactionItems_0_sku"/>'
For example:
vin_PaymentMethod_billingAddress_addr1 => "1639 Harrison Ave."
In the form, becomes:
<input type="text" name=" vin_PaymentMethod_billingAddress_addr1"/>'
Note: Calling WebSession.finalize instructs HOA to take ALL form information gathered through the HOA http POST, and create and populate the appropriate Subscribe objects.
Naming schema for parameter values
Setting parameter values follows the same structure. For example, to setminChargebackProbability to 100:
vin_Transaction_auth_minChargebackProbability => 100
Naming scheme for an object with an array
Comma delimited values are used for private form values, therefore you cannot use them elsewhere, and you cannot use them to define an array. To set an array of values, use the pattern described above, but add the index value for the item after the name of the attribute, then the item itself."Transaction_taxExemptions_0_ taxExemption"``"Transaction_taxExemptions _1_ taxExemption2"

