Skip to content

Latest commit

 

History

History
51 lines (45 loc) · 1.58 KB

File metadata and controls

51 lines (45 loc) · 1.58 KB

DiscountCode

Properties

Name Type Description Notes
Id String [optional]
DiscountAmount Double [optional]
IsSurcharge Boolean [optional]
Permanent Boolean [optional]
Available Boolean [optional]
Anybranch Boolean [optional]
Branches Int32[] [optional]
AvailableOnWeb Boolean [optional]
AvailableOnHandheld Boolean [optional]
DollarDiscount Double [optional]
DiscountDescription String [optional]
PromoCode String [optional]
DiscountDescFrench String [optional]
DiscountDescSpanish String [optional]
ResidentialAccount String [optional]
CommercialAccount String [optional]

Examples

  • Prepare the resource
$DiscountCode = Initialize-RealGreenSaPSDiscountCode  -Id null `
 -DiscountAmount null `
 -IsSurcharge null `
 -Permanent null `
 -Available null `
 -Anybranch null `
 -Branches null `
 -AvailableOnWeb null `
 -AvailableOnHandheld null `
 -DollarDiscount null `
 -DiscountDescription null `
 -PromoCode null `
 -DiscountDescFrench null `
 -DiscountDescSpanish null `
 -ResidentialAccount null `
 -CommercialAccount null
  • Convert the resource to JSON
$DiscountCode | ConvertTo-JSON

[Back to Model list] [Back to API list] [Back to README]