This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // pricing strategy | |
| import numeral from 'numeraljs' | |
| import _ from 'lodash' | |
| var DEFAULTS = { | |
| NO_PRICING: '$-', | |
| HEIGHT_ADDN_CUT_MM: 30, | |
| WIDTH_ADDN_CUT_MM: 60, | |
| MINIMUM_MEASUREMENT_MM: 100, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using JournalPlay.webservices.sandbox.netsuite.com; | |
| namespace JournalPlay | |
| { | |
| /// <summary> | |
| /// Spark Power Journal Line, representing a single line entry in a journal. | |
| /// </summary> | |
| public class SPJournalLine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NetSuiteService service = new NetSuiteService(); | |
| service.CookieContainer = new CookieContainer(); | |
| ApplicationInfo appInfo = new ApplicationInfo(); | |
| appInfo.applicationId = "[XXXXXXXXXXXXXXXXXXXXXXXXXXX"; // application code id | |
| service.applicationInfo = appInfo; | |
| Passport passport = new Passport(); | |
| passport.account = "XXXXXXXXXXXXXX"; // account code | |
| passport.email = "[EMAIL]"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "result": { | |
| "action": "trial", | |
| "period": "Apr 2017", | |
| "accounts": [ | |
| { | |
| "id": "405", | |
| "name": "**Prepaid Business Tax", | |
| "opening": "0.00", | |
| "ending": "0.00" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "method": "GET", | |
| "resourcePath": "/tester/{id}", | |
| "querystring": { | |
| "x": "4", | |
| "y": "5" | |
| }, | |
| "path": { | |
| "id": "g" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Records": [ | |
| { | |
| "EventVersion": "1.0", | |
| "EventSubscriptionArn": "arn:aws:sns:EXAMPLE", | |
| "EventSource": "aws:sns", | |
| "Sns": { | |
| "SignatureVersion": "1", | |
| "Timestamp": "1970-01-01T00:00:00.000Z", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict' | |
| const path = require('path') | |
| const webdriverio = require('webdriverio') | |
| var client = webdriverio.remote({ | |
| host: '127.0.0.1', | |
| port: 9515, | |
| desiredCapabilities: { | |
| browserName: 'chrome', |