new Domain()
Create a new instance of Domain
- Source:
- Customer/Domain.js, line 34
- See:
Properties:
Name | Type | Description |
---|---|---|
title |
String | the title of the |
customer |
Object | the customer of the domain |
updated |
Date | string representing the updated date |
allowSDC |
String | allows SWC |
defaultVal |
String | is default true/false |
SDCLogin |
String | SDC login user true/false |
SDCPassword |
String | SDC password |
Methods
-
generate_xml(options)
-
Generates a save/update xml to be posted to the server
Parameters:
Name Type Description options
object options to be used during the call
Properties
Name Type Argument Description baseUrl
String <optional>
base URL. If not set the current base URL will be used - Source:
- Customer/Domain.js, line 104
-
generateUrl()
-
Overrides Resource's generateUrl method to return the request url
- Source:
- Customer/Domain.js, line 59
- See:
-
loadPreset()
-
Overrides Resource's loadPreset method.
- Source:
- Customer/Domain.js, line 53
- See:
-
loadSet(rObject)
-
Overrides Resource's loadSet method to set local variables after request.
Parameters:
Name Type Description rObject
json JSON representation of the loaded data. - Source:
- Customer/Domain.js, line 69
- See:
-
update(options)
-
Overrides Resource's loadPreset method.
Parameters:
Name Type Description options
object options to be used during the call
Properties
Name Type Argument Description onSuccess
Resource~onSuccess a callback function called in case of a success onFailure
Resource~onFailure <optional>
a callback function called in case of a failure baseUrl
String <optional>
base URL. If not set the current base URL will be used - Source:
- Customer/Domain.js, line 88
- See: