This file contains 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
public static string NormalizePostcode(string postcode) | |
{ | |
//removes end and start spaces | |
postcode = postcode.Trim(); | |
//removes in middle spaces | |
postcode = postcode.Replace(" ", ""); | |
switch (postcode.Length) { | |
//add space after 2 characters if length is 5 | |
case 5: temp_postcode = temp_postcode.Insert(2, " "); break; |
This file contains 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
"Items": [ | |
{ | |
"PriceSchedule": { | |
"OwnerID": "cbca442c-6fbe-47db-af35-9351b029b437", | |
"ID": "PSPOTG10CSWSB", | |
"Name": "10-Club Set With a Stand Bag", | |
"ApplyTax": false, | |
"ApplyShipping": false, | |
"MinQuantity": 1, | |
"MaxQuantity": null, |
OlderNewer