Type Definitions
-
jQuery
-
Description
Represents a jQuery object
Details
-
WizardModuleError
-
Properties
Name Type Description errorMessageString errorCodeString -
CookieOptions
-
Description
Contains the cookie preferences of the customer as a list of key/value pairs where the key is the cookie preference name. It also includes a timestamp key/value pair called
consentLastUpdate, which indicates when the customer last updated the cookie preferences. This object is returned by the getCookieOptions() method.To set cookie preferences on the customer record (see setCookieOptions()), you can use an object in this format, but without the
consentLastUpdatekey.{ PERFORMANCE: true, ANALYTICS: true, consentLastUpdate: 1506878040000 }Properties
Name Type Attributes Description consentLastUpdatestring <optional> A timestamp that indicates the last time that the customer updated the cookie preferences.
consentLastUpdateis returned in the object only with thegetCookieOptions()method. The timestamp is updated as soon as the method is called, regardless of whether cookie preferences were changed. -
CustomerSegment
-
Description
Represents a customer segment to which a website visitor may belong. This object is returned by the getCustomerSegments() method of the UserProfile component.
Properties
Name Type Description idstring The id of the customer segment. A negative
idindicates one of the three built-in customer segments.namestring The name of the customer segment.
-
CreditCardInfo
-
Description
Holds the information of a customer credit card, including the card holder name, expiry date, and a truncated form of the credit card number. This object is returned by the getCreditCards() method of the UserProfile component.
Properties
Name Type Description expirationDateString The expiry date of the credit card.
imagesString An array of one or more relative paths to images of the credit card type.
nameString The name of the credit card holder.
numberString The credit card number. Only the last four digits of the card number are displayed.
paymentMethodIdString The internal ID of the credit card type.
paymentMethodKeyString paymentMethodNameString The type of credit card, for example, Visa, Mastercard, or American Express.
-
UserProfileInfo
-
Description
Contains a predefined set of properties with information about the logged in user. If the user is not logged in, it contains a smaller set of properties.
Properties
Name Type Description addressesArray.<Address> An array of addresses. Each address corresponds to an active address on the customer record.
balanceFloat Refers to the customer's current accounts receivable balance.
campaignsubscriptionsArray.<CampaignSubscription> The marketing subscriptions to which the user is subscribed.
companynameString The customer's company name. If the customer type is 'INDIVIDUAL', the company name is blank.
creditholdoverrideBoolean Returns
trueif the user's credit hold was removed manually.creditlimitNumber The maximum currency amount the customer is allowed to accrue in outstanding receivables.
customfieldsArray.<CustomEntityField> An array of all custom fields and their values. All web store custom fields are in the array, regardless of whether they contain a value.
emailString The customer's primary email address.
emailsubscribeBoolean Indicates whether the user has subscribed to at least one marketing subscription.
firstnameString The customer's first name.
internalidString The internal identifier of the customer record in NetSuite.
isguestBoolean Indicates if the visitor is a guest user.
isloggedinBoolean Indicates if the visitor is a logged in user.
isrecognizedBoolean Indicates whether the visitor is a recognized user.
languageString The customer's preferred language.
lastnameString The customer's surname.
middlenameString The customer's middlename.
nameString Corresponds to the Customer ID field on the customer record in NetSuite.
paymenttermsPaymentTerm The payment terms assigned to the customer.
phoneinfoPhoneInfo Lists the customer's phone and fax numbers.
pricelevelString The price level assigned to the customer.
subsidiaryString The subsidiary associated with the customer record.
typeString Indicates the type of customer. If the user is a person, the value of
typeis 'INDIVIDUAL'. Otherwise, the value oftypeis 'COMPANY'. -
PaymentTerm
-
Description
The payment terms assigned to the customer.
Properties
Name Type Description internalidString The internal ID of the (payment) term record.
nameString The name of the payment terms, for example, "Net 30 Days".
-
PhoneInfo
-
Description
Contains the customer's phone information.
Properties
Name Type Description alphoneString The customer's alternative phone number.
faxString The customer's fax number.
phoneString The customer's main phone number.
-
CustomEntityField
-
Description
Refers to a custom field on the customer record.
Properties
Name Type Description idString The identifier of the field in NetSuite. Identifiers always start with the string "custentity". For example, a custom phone number field might have the id "custentity_phonenumber", where "_phonenumber" is the field name entered by the NetSuite user when creating the custom field.
valueString The value of the field.
-
CampaignSubscription
-
Description
A marketing subscription to which the user is subscribed.
Properties
Name Type Description internalidString The identifier of the subscription in NetSuite.
nameString The name of the subscription.
descriptionString The description of the campaign subscription.
-
SimpleChildViewConstructor( ...any ) → {View}
-
Parameters
Name Type Attributes Description anyany <repeatable> Returns
-
RegisterCustomContentType
-
Properties
Name Type Description idString The ID of the CCT to be registered. IDs must be unique per account/domain.
viewCustomContentTypeBaseView View class that implements the CCT.
-
PageTypeData
-
Description
A page type to register.
Properties
Name Type Description nameString The name of the page type.
namemust the same as the name of the CMS page type record in NetSuite, or the name of the page type as specified in the extension manifest.optionsObject Options to make available in the view.
optionsis an object that may contain any number of properties you want to pass to the view. Note that a number of properties are added to the object at runtime. If you add any of the following properties in your extension code, they will be overwritten:- container
- pageInfo
- routerArguments
viewPageTypeBaseView A constructor function that creates an instance of a PageTypeBaseView view class.
defaultTemplateObject Specifies the defaut page template to use for the page type.
defaultTemplateis an object with the following properties:- name - The template file name.
- displayName - The name of the page template as it will appear in the list of available layouts in Site Management Tools (SMT) in NetSuite.
- thumbnail - The absolute URL of an image file.
-
PageTemplate
-
Description
A page template to register with one or more page types.
Properties
Name Type Description PageTypesArray The page types to register the template with.
templateObject Specifies the template to register.
templateis an object with the following properties:- name - The template file name.
- displayName - The name of the page template as it will appear in the list of available layouts in Site Management Tools (SMT) in NetSuite.
- thumbnail - The absolute URL of an image file.
-
MyAccountMenuGroup
-
Description
Represents a menu group in the menu on the My Account page.
Properties
Name Type Description nameString The name of the menu group as it appears in the menu.
idString A unique ID for the menu group.
indexInteger A number that indicates the position of the menu group in the menu.
permissionArray.<MyAccountMenuPermission> An array of permissions to apply to the menu group. Each permission is an object in the array. If the user has the relevant permissions, the menu group is displayed.
permissionoperatorString Specifies how permissions are evaluated. To indicate that the user must have all the specified permissions, set this property to
AND. Otherwise, to indicate that any one of the permissions are required, set this property toOR. -
MyAccountMenuGroupEntry
-
Description
Represents a menu item in the menu on the My Account page.
Properties
Name Type Description idString A unique ID for the menu item.
groupidString The ID of the menu group to which you want to add the menu item.
indexString A number that indicates the position of the menu item in the menu group.
nameString The name of the menu item as it appears in the menu.
permissionArray.<MyAccountMenuPermission> The permissions required to view the menu item and its associated landing page. Specify the permissions as an array of permissions to apply to the menu item. Each permission in the array is an object. If the user has the relevant permissions, the menu item is displayed.
permissionoperatorString Specifies how permissions are evaluated. To indicate that the user must have all the specified permissions, set this property to
AND. Otherwise, to indicate that any one of the permissions are required, set this property toOR.urlString The URL of a landing page you want to display on the My Account page.
-
MyAccountMenuPermission
-
Description
A permission that can be applied to a menu group or menu item.
Properties
Name Type Description idString The permission ID that can be applied to a menu group or menu item (menu group entry).
groupString Permissions available for SuiteCommerce extensions are organised into two groups:
transactionsandlists. See SuiteCommerce Advanced & Reference Implementations for more information about working with permissions.levelString The permission level for the menu group or menu item.
levelcan be one of the following:- 0 - None
- 1 - View
- 2 - Create
- 3 - Edit
- 4 - Full
-
RemoveStepGroupData
-
Properties
Name Type Description group_nameString -
AddStepData
-
Description
Represents the step data in a checkout step. AddStepData is an object with a single property called
step. The value ofstepis an object that contains the step data.{ step: { name: "Loyalty Card Number", url: "loyaltycard", isActive: function() {}, group_name: "Loyalty", index: 0, showStep: canShowStep() } }Properties
Name Type Description nameString Mandatory. The name of the step. The name appears as the step title on the checkout page.
urlString Mandatory. The URL fragment that indicates the current step.
isActivefunction Indicates whether the step is active. Usually, you will define an empty anonymous function for this property.
group_nameString Mandatory. The name of the steps group to which the step should be added.
indexNumber Mandatory. The position of the step in the list of steps in a group.
indexmust be >= 0.showStepfunction A function that returns true or false. Use
showStepto perform operations or validations that determine whether the step should be shown. Returntrueto show the step. -
AddStepsGroupData
-
Description
Represents a group of steps on a checkout page. AddStepsGroupData is an object with a single property called
group. The value ofgroupis an object that contains the steps group data.{ group: { name: "Loyalty", url: "loyalty", index: 0 } }Properties
Name Type Description nameString The name of the steps group.
urlString indexNumber -
AddModuleData
-
Properties
Name Type Description step_urlString moduleModuleData -
ModuleData
-
Properties
Name Type Description idString indexNumber classnameString the JavaScript class name of the new module to add
optionsModuleOptions -
ModuleOptions
-
Properties
Name Type Description containerString where to add the new module, for example, '#wizard-step-content-right'
-
RemoveModuleData
-
Properties
Name Type Description step_urlString module_idString -
CheckoutStepGroup
-
Properties
Name Type Description indexNumber nameString urlString show_groupBoolean stateString stepsArray.<CheckoutStep> -
CheckoutStep
-
Properties
Name Type Description urlString It is the step identifier
nameString show_stepBoolean stateString step_group_nameString modulesArray.<CheckoutStepModule> -
CheckoutStepModule
-
Properties
Name Type Description idString is_activeBoolean is_readyBoolean indexNumber -
ItemInfo
-
Description
Representation of the data objects used to send a transaction line representation to the back-end without sending all the heavy weight JSON that is not totally needed by the back-end
Properties
Name Type Attributes Description internalidString quantityNumber <optional> optionsArray.<Object> <optional> splitquantityNumber <optional> shipaddressNumber <optional> shipmethodNumber <optional> locationNumber <optional> fulfillmentChoiceString <optional> item* <optional> Name Type Attributes Description internalidString <optional> typeString <optional> onlinecustomerprice_detailString <optional> -
MatrixOptionSelection
-
Properties
Name Type Description custom_item_optionString custom_item_option_valueString | Number -
PageViewInfo
-
Description
Contains information about a page view. This object is provided in the event data of the
trackPageviewlistener function, which you can declare as a function in a Tracker object. See addTracker() for more information.Properties
Name Type Description urlString The URL of the page.
-
ValidationErrors
-
-
ProductViewInfo
-
Description
Contains information about the product viewed on a product details page (PDP). This object is provided in the event data of the
trackProductViewlistener function, which you can declare as a function in a Tracker object. See addTracker() for more information.Properties
Name Type Description internalidString skuString nameString priceNumber isinstockBoolean isbackorderableBoolean quantityavailableNumber thumbnailString urlComponentString -
FormFieldValue
-
Description
Returned by getFormFieldValue() if type checking performed on the field was successful.
Properties
Name Type Description nameString The name of the field.
nameshould be the same as the attribute name in formModel.valueT The value for the associated form model attribute name. Make sure the data type is the one expected by the form model attribute. For example, if the value of a model's attribute is a number, you need to make sure that the value passed is also a number.
-
FormFieldError
-
Description
Returned by getFormFieldValue() if type checking performed on the field failed.
Properties
Name Type Description nameString The name of the field.
nameshould be the same as the attribute name in formModel.errorString An error message indicating that the value entered in the field is not correct. You can return a translatable error message with the
Utils.translate()method. -
Session
-
Properties
Name Type Description currencySessionCurrency languageSessionLanguage touchpointsSessionTouchpoints priceLevelString -
PriceInfo
-
Description
Contains the price information of the item, including the current item price as displayed on the page and the original item price. This object is returned by the getPrice() method of the PDP component.
Properties
Name Type Description pricestring The current price of the item based on the selected options and quantity.
price_formattedstring The current price of the item with the currency sign.
compare_pricestring The original price of the item.
compare_price_formattedstring The original price of the item with the currency sign.
-
FormFieldsValues
-
Description
Returned by getFormValues() if no form field errors were found.
-
SessionCurrency
-
Properties
Name Type Description internalidString symbolString codeString nameString currencynameString isdefaultString symbolplacementNumber -
FormFieldsErrors
-
Description
Returned by getFormValues() if form field errors were found.
Properties
Name Type Description errorCodeString An error code.
errorsObject A list of form field errors as properties of the object. The property name is a field name and the property value is the error message. For example,
email: Utils.translate('You must enter a valid email'). -
Breadcrumb
-
Properties
Name Type Description hrefString textString -
Event
-
Properties
Name Type Description targetHTMLElement The HTML element that triggered the event.
-
Image
-
Properties
Name Type Description altimagetextString urlString -
SessionLanguage
-
Properties
Name Type Description nameString isdefaultString localeString languagenameString -
StorePickUpDetail
-
Properties
Name Type Description internalidNumber qtyavailableforstorepickupNumber -
TransactionInfo
-
Description
Transaction info contains information about the completed transaction. This object is provided in the event data of the
trackTransactionlistener function, which you can declare as a function in a Tracker object. See addTracker() for more information.Properties
Name Type Description confirmationNumberString subTotalNumber taxTotalNumber shippingCostNumber Shipping costs related to the transaction.
handlingCostNumber Handling costs related to the transaction.
totalNumber productsArray.<TransactionProductInfo> The list of items in the transaction, as an array of
TransactionProductInfoobjects.promoCodesArray.<String> -
TransactionProductInfo
-
Description
Contains information about each item in a completed transaction.
Properties
Name Type Description skuString nameString priceNumber quantityNumber optionsString -
TranslationEntry
-
Description
Represents an entry in the translation dictionary.
Properties
Name Type Description keyString The key of the translation.
valueString The translation string.
-
ChildViews
-
Description
An object that contains one or more child views. Returned by the getChildViews() method in SCView.
Properties
Name Type Description {...}Object.<string, string> A list of one or more enumerable key/value pairs. The key is a selector in a template, identified by the value of any of the
data-viewdata attributes of an element. For example, if a template contains the following element<div data-view="Header.View">, the key is'Header.View'. The value is a function that returns an instance of a view. -
Filter
-
Properties
Name Type Description idString urlString valueString activeBoolean configObject Name Type Description idString nameString urlString behaviorString maxNumber titleTokenString -
PageSize
-
Properties
Name Type Description itemsNumber nameString isDefaultBoolean idString activeBoolean -
Display
-
Properties
Name Type Description idString nameString templateString columnsNumber iconString isDefaultBoolean activeBoolean -
Sorting
-
Properties
Name Type Attributes Description idString nameString isDefaultBoolean activeBoolean <optional> -
Pagination
-
Properties
Name Type Description currentPageNumber pageCountNumber itemCountNumber pageSizeNumber sortingString displayString filtersObject searchTextString -
SearchItemInfo
-
Properties
Name Type Attributes Description isinstockBoolean <optional> onlinecustomerpriceNumber <optional> matrixchilditems_detailArray.<matrixchilditems_detail> <optional> itemidString <optional> ispurchasableBoolean <optional> onlinecustomerprice_formattedString <optional> stockdescriptionString <optional> isbackorderableBoolean <optional> itemimages_detailObject <optional> onlinecustomerprice_detailonlinecustomerprice_detail <optional> custitem_automation_item_field_001String <optional> onlinematrixpricerangeString <optional> internalidNumber <optional> showoutofstockmessageBoolean <optional> outofstockbehaviorString <optional> custitem_automation_item_field_002String <optional> itemoptions_detailitemoptions_detail <optional> outofstockmessageString <optional> displaynameString <optional> storedisplayname2String <optional> storedescriptionString <optional> urlcomponentString <optional> optionsArray.<SearchItemInfo_options> <optional> -
matrixchilditems_detail
-
Properties
Name Type Attributes Description isinstockBoolean <optional> itemidString <optional> ispurchasableBoolean <optional> stockdescriptionString <optional> isbackorderableBoolean <optional> onlinecustomerprice_detailonlinecustomerprice_detail <optional> internalidNumber <optional> showoutofstockmessageBoolean <optional> outofstockbehaviorString <optional> itemtypeString <optional> outofstockmessageString <optional> -
onlinecustomerprice_detail
-
Properties
Name Type Attributes Description onlinecustomerprice_formattedString <optional> onlinecustomerpriceNumber <optional> -
itemimages_detail
-
Properties
Name Type Attributes Description urlsArray.<itemimages_detail_urls> <optional> -
itemimages_detail_urls
-
Properties
Name Type Attributes Description altimagetextString <optional> urlString <optional> -
itemoptions_detail
-
Properties
Name Type Description matrixtypeString fieldsArray.<itemoptions_detail_fields> -
itemoptions_detail_fields
-
Properties
Name Type Attributes Description ismandatoryBoolean <optional> internalidString <optional> ismatrixdimensionBoolean <optional> valuesArray.<itemoptions_detail_fields_values> <optional> labelString <optional> typeString <optional> sourcefromString <optional> -
itemoptions_detail_fields_values
-
Properties
Name Type Attributes Description labelString <optional> isAvailableBoolean <optional> urlString <optional> -
SearchItemInfo_options
-
Properties
Name Type Description labelString valuesArray.<SearchItemInfo_options_values> typeString cartOptionIdString itemOptionIdString isMatrixDimensionBoolean isMandatoryBoolean urlParameterNameString useLabelsOnUrlBoolean indexNumber -
SearchItemInfo_options_values
-
Description
instance
Properties
Name Type Description labelString isAvailableBoolean urlString -
AddLineData
-
AddLines
-
Description
Represents one or more lines to be added to the cart. It is used with the addLines() method to add multuple lines to the cart.
Properties
Name Type Description linesArray.<Line> The lines to add to the cart.
linesis an array ofLineobjects. -
Line
-
Description
A line in the cart. Use when getting, adding, or removing lines from the cart. The getLines() method of the Cart component returns an array of Line objects.
Properties
Name Type Attributes Description internalidString <optional> The line ID of the item in the cart.
internalidis required to add or remove lines in a cart.quantityNumber <optional> amountNumber <optional> rateNumber <optional> tax_amountNumber <optional> tax_codeString <optional> itemtypeString <optional> item* <optional> Name Type Attributes Description internalidNumber itemidString <optional> displaynameString <optional> isinactiveBoolean <optional> itemtypeString <optional> minimumquantityNumber <optional> optionsArray.<LineOption> <optional> extras* <optional> Name Type Attributes Description shipaddressString <optional> SCA specific
shipmethodString <optional> SCA specific
tax_rateNumber <optional> SCA specific
rate_formattedString <optional> SCA specific
discountNumber <optional> SCA specific
totalnumber <optional> SCA specific
amount_formattedString <optional> SCA specific
tax_amount_formattedString <optional> SCA specific
discount_formattedString <optional> SCA specific
total_formattedString <optional> SCA specific
descriptionString <optional> SCIS specific
giftcertfromString <optional> SCIS specific
giftcertmessageString <optional> SCIS specific
giftcertnumberNumber <optional> SCIS specific
giftcertrecipientemailString <optional> SCIS specific
giftcertrecipientnameString <optional> SCIS specific
taxrate1String <optional> SCIS specific
taxrate2String <optional> SCIS specific
grossamtString <optional> SCIS specific
tax1amtString <optional> SCIS specific
custreferralcodeString <optional> SCIS specific
excludefromraterequestBoolean <optional> SCIS specific
custcol_ns_pos_voidqtyString <optional> SCIS specific
voidPercentageNumber <optional> SCIS specific
returnedQuantityNumber <optional> SCIS specific
isUnvalidatedReturnBoolean <optional> SCIS specific
orderBoolean <optional> SCIS specific
noteString <optional> SCIS specific
-
LineOption
-
Description
This is the representation of the line's option in the Line type
Properties
Name Type Description cartOptionIdString valueObject an object with a String property internalid
-
Promotion
-
Description
Refers to a promotion. The getPromotions() method returns an array of Promotion objects. You can use the value of the
internalidproperty of a Promotion object to remove promotions from the cart - see Cart.Properties
Name Type Attributes Description internalidString <optional> The internal ID of the promotion record in NetSuite.
typeString The type of promotion, for example, a free gift promotion or an order promotion.
nameString The name of the discount item for accounting in NetSuite.
rateString The amount of the promotion.
codeString The coupon code of the promotion in NetSuite.
errormsgString The error message returned if the promotion cannot be applied.
isvalidBoolean Indicates if the promotion can be applied to items in the cart.
-
Summary
-
Description
This is the representation of the cart's summary returned by getSummary.
Properties
Name Type Attributes Description totalNumber <optional> taxtotalNumber <optional> tax2totalNumber <optional> discounttotalNumber <optional> subtotalNumber <optional> shippingcostNumber <optional> handlingcostNumber <optional> giftcertappliedNumber <optional> discounttotal_formattedString <optional> SCA specific
taxonshipping_formattedString <optional> SCA specific
taxondiscount_formattedString <optional> SCA specific
itemcountNumber <optional> SCA specific
taxonhandling_formattedString <optional> SCA specific
discountedsubtotalNumber <optional> SCA specific
discountedsubtotal_formattedString <optional> SCA specific
taxondiscountNumber <optional> SCA specific
handlingcost_formattedString <optional> SCA specific
taxonshippingNumber <optional> SCA specific
taxtotal_formattedString <optional> SCA specific
totalcombinedtaxes_formattedString <optional> SCA specific
totalcombinedtaxesNumber <optional> SCA specific
giftcertapplied_formattedString <optional> SCA specific
shippingcost_formattedString <optional> SCA specific
discountrateNumber <optional> SCA specific
taxonhandlingNumber <optional> SCA specific
tax2total_formattedString <optional> SCA specific
discountrate_formattedString <optional> SCA specific
estimatedshippingNumber <optional> SCA specific
estimatedshipping_formattedString <optional> SCA specific
total_formattedString <optional> SCA specific
subtotal_formattedString <optional> SCA specific
shippingtax1rateString SCIS specific
shippingcostoverriddenBoolean SCIS specific
amountdueNumber SCIS specific
tranidString SCIS specific
createddateDate SCIS specific
couponcodeString SCIS specific
createdfromDate SCIS specific
changedueNumber SCIS specific
-
TransactionBodyFieldData
-
Description
Contains the data to set on a specific custom transaction body field. This object is used with the setTransactionBodyField() method of the Cart component.
{ fieldId: 'custbody_customerref', type: 'string', value: '12083' }Properties
Name Type Description fieldIdString The internal ID of the custom transaction body field in NetSuite.
typeString The type of data the field accepts. It must be one of the following:
string,number,boolean, ordate.valueString | Number | Boolean | Date The value to set on the field. It must correspond to the specified type.
-
ConfirmationSubmit
-
Description
In SCA the object returned by getShoppingSession().getOrder().submit()
-
Address
-
Description
Represents an address record in NetSuite.
Properties
Name Type Description internalidString The internal ID of the address record in NetSuite.
zipString The postal code of the address.
countryString The two-letter country code of the address, for example, "CA", "IE", or "US".
addr1String The first line of the address.
addr2String The second line of the address.
addr3String The third line of the address.
cityString The city name.
companyString The company name.
defaultbillingBoolean Indicates whether the address is the default billing address (
T) or a secondary address (F).defaultshippingBoolean Indicates whether the address is the default shipping address (
T) or a secondary address (F).fullnameString The customer's full name.
isresidentialBoolean Indicates whether the address is a residential address (
T) or a business address (F).isvalidBoolean Indicates whether the address is currently valid (
T) or invalid (F).phoneString The phone number associated with the address.
stateString The state or province.
-
ShipMethod
-
Description
A shipping method.
Properties
Name Type Description internalidString The internal ID of the shipping item record in NetSuite.
nameString The name of the shipping item.
rateNumber The rate charged for this shipping method, for example, "10".
rate_formattedString The formatted rate charged for the shipping method, for example, "$10.00".
shipcarrierString -
ShipMethodData
-
Description
The data required to set a shipping method on an order. This object is used with the setShipMethod method.
Properties
Name Type Description ship_methodObject Contains the internal ID of the ship method.
Name Type Description internalidString The internal ID of the ship method.
-
PaymentMethod
-
Description
Refers to a payment method in NetSuite.
Properties
Name Type Description internalidString typeString valid options: [creditcard, invoice, paypal, giftcertificate, external_checkout]
creditcardCreditCard Required only if it is a creditcard
Name Type Description ccnumberString Required only if it is a creditcard
ccnameString Required only if it is a creditcard
ccexpiredateString Required only if it is a creditcard
expmonthString Required only if it is a creditcard
expyearString Required only if it is a creditcard
ccsecuritycodeString Required only if it is a creditcard
paymentmethod.internalidString paymentmethod.nameString paymentmethod.creditcardBoolean paymentmethod.ispaypalBoolean paymentmethod.keyString keyString thankyouurlString errorurlString giftcertificate.codeString Required only if it is a giftcertificate