コード例 #1
0
        public void Test_PostOrderToShipStation()
        {
            // arrange
            var shipstationService = new ShipStationService();

            // act
            var result = shipstationService.PostOrderToShipStation();
        }
コード例 #2
0
        public async Task <int> PostOrderToShippingStation()
        {
            if (!_shipStationService.HasValidCredentials)
            {
                return(-1);
            }

            if (_marketplaceMode == MarketplaceMode.TEST.ToString())
            {
                return(0);
            }

            return(await _shipStationService.PostOrderToShipStation());
        }