Type Definitions
-
jQuery
-
Description
Represents a jQuery object
Details
-
WizardModuleError
-
Properties
Name Type Description errorMessageString errorCodeString -
Promotion
-
Description
Refers to a promotion. The
getPromotions()method returns an array of Promotion objects.Properties
Name Type Attributes Description internalidString <optional> The internal ID of the promotion in NetSuite.
typeString nameString rateString codeString errormsgString isvalidBoolean -
AddLine
-
Description
Represents a line to be added to the cart.
Properties
Name Type Description lineLine The line to add to the cart. The value of line is a
Lineobject. -
AddLines
-
Description
Represents one or more lines to be added to the cart. It is used with the
addLinesmethod 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.
Properties
Name Type Attributes Description internalidString <optional> 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
-
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
-
ConfirmationSubmit
-
Description
in SCA the object returned by getShoppingSession().getOrder().submit()
-
Address
-
Description
This is the representation an address
Properties
Name Type Description internalidString zipString countryString addr1String addr2String addr3String cityString companyString defaultbillingBoolean defaultshippingBoolean fullnameString isresidentialBoolean isvalidBoolean phoneString stateString -
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 -
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
-
RemoveStepGroupData
-
Properties
Name Type Description group_nameString -
AddStepData
-
Properties
Name Type Description nameString urlString isActivefunction group_nameString indexNumber -
AddStepGroupData
-
Properties
Name Type Description nameString 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 -
RegisterCustomContentType
-
Properties
Name Type Description idString The ID of the CCT to be registered. IDs must be unique per account/domain.
customcontenttypebaseviewCustomContentTypeBaseView View class that implements the CCT.
-
TranslationEntry
-
Description
Represents an entry in the translation dictionary.
Properties
Name Type Description keyString The key of the translation.
valueString The translation string.
-
Session
-
Properties
Name Type Description currencySessionCurrency languageSessionLanguage touchpointsSessionTouchpoints priceLevelString -
SessionCurrency
-
Properties
Name Type Description internalidString symbolString codeString nameString currencynameString isdefaultString symbolplacementNumber -
SessionLanguage
-
Properties
Name Type Description nameString isdefaultString localeString languagenameString -
SessionTouchpoints
-
Properties
Name Type Description logoutString customercenterString serversyncString viewcartString loginString welcomeString checkoutString continueshoppingString homeString registerString storelocatorString -
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
-
PageType
-
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.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.
-
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 -
Breadcrumb
-
Properties
Name Type Description hrefString textString -
Image
-
Properties
Name Type Description altimagetextString urlString -
StorePickUpDetail
-
Properties
Name Type Description internalidNumber qtyavailableforstorepickupNumber -
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 -
UserProfile
-
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