<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SalesOrder StructType
 * Meta information extracted from the WSDL
 * - type: tranSales:SalesOrder
 * @subpackage Structs
 */
class SalesOrder extends Record
{
    /**
     * The createdDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $createdDate;
    /**
     * The customForm
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $customForm;
    /**
     * The entity
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $entity;
    /**
     * The job
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $job;
    /**
     * The currency
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $currency;
    /**
     * The drAccount
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $drAccount;
    /**
     * The fxAccount
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $fxAccount;
    /**
     * The tranDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $tranDate;
    /**
     * The tranId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $tranId;
    /**
     * The entityTaxRegNum
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $entityTaxRegNum;
    /**
     * The source
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $source;
    /**
     * The createdFrom
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $createdFrom;
    /**
     * The orderStatus
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $orderStatus;
    /**
     * The nextBill
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $nextBill;
    /**
     * The opportunity
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $opportunity;
    /**
     * The salesRep
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $salesRep;
    /**
     * The contribPct
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $contribPct;
    /**
     * The partner
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $partner;
    /**
     * The salesGroup
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $salesGroup;
    /**
     * The syncSalesTeams
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $syncSalesTeams;
    /**
     * The leadSource
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $leadSource;
    /**
     * The startDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $startDate;
    /**
     * The endDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $endDate;
    /**
     * The otherRefNum
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $otherRefNum;
    /**
     * The memo
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $memo;
    /**
     * The salesEffectiveDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $salesEffectiveDate;
    /**
     * The excludeCommission
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $excludeCommission;
    /**
     * The totalCostEstimate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $totalCostEstimate;
    /**
     * The estGrossProfit
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $estGrossProfit;
    /**
     * The estGrossProfitPercent
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $estGrossProfitPercent;
    /**
     * The exchangeRate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $exchangeRate;
    /**
     * The promoCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $promoCode;
    /**
     * The currencyName
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $currencyName;
    /**
     * The discountItem
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $discountItem;
    /**
     * The discountRate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $discountRate;
    /**
     * The isTaxable
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $isTaxable;
    /**
     * The taxItem
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $taxItem;
    /**
     * The taxRate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $taxRate;
    /**
     * The toBePrinted
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $toBePrinted;
    /**
     * The toBeEmailed
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $toBeEmailed;
    /**
     * The email
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $email;
    /**
     * The toBeFaxed
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $toBeFaxed;
    /**
     * The fax
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $fax;
    /**
     * The messageSel
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $messageSel;
    /**
     * The message
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $message;
    /**
     * The paymentOption
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $paymentOption;
    /**
     * The inputAuthCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $inputAuthCode;
    /**
     * The inputReferenceCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $inputReferenceCode;
    /**
     * The checkNumber
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $checkNumber;
    /**
     * The paymentCardCsc
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $paymentCardCsc;
    /**
     * The paymentProcessingProfile
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $paymentProcessingProfile;
    /**
     * The handlingMode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $handlingMode;
    /**
     * The outputAuthCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $outputAuthCode;
    /**
     * The outputReferenceCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $outputReferenceCode;
    /**
     * The paymentOperation
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $paymentOperation;
    /**
     * The dynamicDescriptor
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $dynamicDescriptor;
    /**
     * The billingAddress
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\Address
     */
    public $billingAddress;
    /**
     * The billAddressList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $billAddressList;
    /**
     * The shippingAddress
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\Address
     */
    public $shippingAddress;
    /**
     * The shipIsResidential
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $shipIsResidential;
    /**
     * The shipAddressList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $shipAddressList;
    /**
     * The fob
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $fob;
    /**
     * The shipDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $shipDate;
    /**
     * The actualShipDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $actualShipDate;
    /**
     * The shipMethod
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $shipMethod;
    /**
     * The shippingCost
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $shippingCost;
    /**
     * The shippingTax1Rate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $shippingTax1Rate;
    /**
     * The isMultiShipTo
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $isMultiShipTo;
    /**
     * The shippingTax2Rate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $shippingTax2Rate;
    /**
     * The shippingTaxCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $shippingTaxCode;
    /**
     * The handlingTaxCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $handlingTaxCode;
    /**
     * The handlingTax1Rate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $handlingTax1Rate;
    /**
     * The handlingTax2Rate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $handlingTax2Rate;
    /**
     * The handlingCost
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $handlingCost;
    /**
     * The trackingNumbers
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $trackingNumbers;
    /**
     * The linkedTrackingNumbers
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $linkedTrackingNumbers;
    /**
     * The shipComplete
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $shipComplete;
    /**
     * The paymentMethod
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $paymentMethod;
    /**
     * The shopperIpAddress
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $shopperIpAddress;
    /**
     * The saveOnAuthDecline
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $saveOnAuthDecline;
    /**
     * The canHaveStackable
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $canHaveStackable;
    /**
     * The creditCard
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $creditCard;
    /**
     * The revenueStatus
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $revenueStatus;
    /**
     * The recognizedRevenue
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $recognizedRevenue;
    /**
     * The deferredRevenue
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $deferredRevenue;
    /**
     * The revRecOnRevCommitment
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $revRecOnRevCommitment;
    /**
     * The revCommitStatus
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $revCommitStatus;
    /**
     * The ccNumber
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $ccNumber;
    /**
     * The ccExpireDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $ccExpireDate;
    /**
     * The ccName
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $ccName;
    /**
     * The ccStreet
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $ccStreet;
    /**
     * The ccZipCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $ccZipCode;
    /**
     * The payPalStatus
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $payPalStatus;
    /**
     * The creditCardProcessor
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $creditCardProcessor;
    /**
     * The payPalTranId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $payPalTranId;
    /**
     * The ccApproved
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $ccApproved;
    /**
     * The getAuth
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $getAuth;
    /**
     * The authCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $authCode;
    /**
     * The ccAvsStreetMatch
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $ccAvsStreetMatch;
    /**
     * The ccAvsZipMatch
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $ccAvsZipMatch;
    /**
     * The isRecurringPayment
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $isRecurringPayment;
    /**
     * The ccSecurityCodeMatch
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $ccSecurityCodeMatch;
    /**
     * The altSalesTotal
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $altSalesTotal;
    /**
     * The ignoreAvs
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $ignoreAvs;
    /**
     * The paymentEventResult
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $paymentEventResult;
    /**
     * The paymentEventHoldReason
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $paymentEventHoldReason;
    /**
     * The paymentEventType
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $paymentEventType;
    /**
     * The paymentEventDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $paymentEventDate;
    /**
     * The paymentEventUpdatedBy
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $paymentEventUpdatedBy;
    /**
     * The subTotal
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $subTotal;
    /**
     * The discountTotal
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $discountTotal;
    /**
     * The taxTotal
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $taxTotal;
    /**
     * The altShippingCost
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $altShippingCost;
    /**
     * The altHandlingCost
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $altHandlingCost;
    /**
     * The total
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $total;
    /**
     * The revRecSchedule
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $revRecSchedule;
    /**
     * The revRecStartDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $revRecStartDate;
    /**
     * The revRecEndDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $revRecEndDate;
    /**
     * The paypalAuthId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $paypalAuthId;
    /**
     * The balance
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $balance;
    /**
     * The paypalProcess
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $paypalProcess;
    /**
     * The billingSchedule
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $billingSchedule;
    /**
     * The ccSecurityCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $ccSecurityCode;
    /**
     * The threeDStatusCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $threeDStatusCode;
    /**
     * The class
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $class;
    /**
     * The department
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $department;
    /**
     * The subsidiary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $subsidiary;
    /**
     * The intercoTransaction
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $intercoTransaction;
    /**
     * The intercoStatus
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $intercoStatus;
    /**
     * The debitCardIssueNo
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $debitCardIssueNo;
    /**
     * The lastModifiedDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $lastModifiedDate;
    /**
     * The nexus
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $nexus;
    /**
     * The subsidiaryTaxRegNum
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $subsidiaryTaxRegNum;
    /**
     * The taxRegOverride
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $taxRegOverride;
    /**
     * The taxPointDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $taxPointDate;
    /**
     * The taxDetailsOverride
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $taxDetailsOverride;
    /**
     * The location
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $location;
    /**
     * The pnRefNum
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $pnRefNum;
    /**
     * The status
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $status;
    /**
     * The tax2Total
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $tax2Total;
    /**
     * The terms
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $terms;
    /**
     * The validFrom
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $validFrom;
    /**
     * The vatRegNum
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $vatRegNum;
    /**
     * The giftCertApplied
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $giftCertApplied;
    /**
     * The oneTime
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $oneTime;
    /**
     * The recurWeekly
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $recurWeekly;
    /**
     * The recurMonthly
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $recurMonthly;
    /**
     * The recurQuarterly
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $recurQuarterly;
    /**
     * The recurAnnually
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var float
     */
    public $recurAnnually;
    /**
     * The tranIsVsoeBundle
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $tranIsVsoeBundle;
    /**
     * The vsoeAutoCalc
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $vsoeAutoCalc;
    /**
     * The syncPartnerTeams
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $syncPartnerTeams;
    /**
     * The salesTeamList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SalesOrderSalesTeamList
     */
    public $salesTeamList;
    /**
     * The partnersList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SalesOrderPartnersList
     */
    public $partnersList;
    /**
     * The giftCertRedemptionList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\GiftCertRedemptionList
     */
    public $giftCertRedemptionList;
    /**
     * The promotionsList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\PromotionsList
     */
    public $promotionsList;
    /**
     * The itemList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SalesOrderItemList
     */
    public $itemList;
    /**
     * The shipGroupList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SalesOrderShipGroupList
     */
    public $shipGroupList;
    /**
     * The accountingBookDetailList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\AccountingBookDetailList
     */
    public $accountingBookDetailList;
    /**
     * The taxDetailsList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\TaxDetailsList
     */
    public $taxDetailsList;
    /**
     * The customFieldList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\CustomFieldList
     */
    public $customFieldList;
    /**
     * The internalId
     * @var string
     */
    public $internalId;
    /**
     * The externalId
     * @var string
     */
    public $externalId;
    /**
     * Constructor method for SalesOrder
     * @uses SalesOrder::setCreatedDate()
     * @uses SalesOrder::setCustomForm()
     * @uses SalesOrder::setEntity()
     * @uses SalesOrder::setJob()
     * @uses SalesOrder::setCurrency()
     * @uses SalesOrder::setDrAccount()
     * @uses SalesOrder::setFxAccount()
     * @uses SalesOrder::setTranDate()
     * @uses SalesOrder::setTranId()
     * @uses SalesOrder::setEntityTaxRegNum()
     * @uses SalesOrder::setSource()
     * @uses SalesOrder::setCreatedFrom()
     * @uses SalesOrder::setOrderStatus()
     * @uses SalesOrder::setNextBill()
     * @uses SalesOrder::setOpportunity()
     * @uses SalesOrder::setSalesRep()
     * @uses SalesOrder::setContribPct()
     * @uses SalesOrder::setPartner()
     * @uses SalesOrder::setSalesGroup()
     * @uses SalesOrder::setSyncSalesTeams()
     * @uses SalesOrder::setLeadSource()
     * @uses SalesOrder::setStartDate()
     * @uses SalesOrder::setEndDate()
     * @uses SalesOrder::setOtherRefNum()
     * @uses SalesOrder::setMemo()
     * @uses SalesOrder::setSalesEffectiveDate()
     * @uses SalesOrder::setExcludeCommission()
     * @uses SalesOrder::setTotalCostEstimate()
     * @uses SalesOrder::setEstGrossProfit()
     * @uses SalesOrder::setEstGrossProfitPercent()
     * @uses SalesOrder::setExchangeRate()
     * @uses SalesOrder::setPromoCode()
     * @uses SalesOrder::setCurrencyName()
     * @uses SalesOrder::setDiscountItem()
     * @uses SalesOrder::setDiscountRate()
     * @uses SalesOrder::setIsTaxable()
     * @uses SalesOrder::setTaxItem()
     * @uses SalesOrder::setTaxRate()
     * @uses SalesOrder::setToBePrinted()
     * @uses SalesOrder::setToBeEmailed()
     * @uses SalesOrder::setEmail()
     * @uses SalesOrder::setToBeFaxed()
     * @uses SalesOrder::setFax()
     * @uses SalesOrder::setMessageSel()
     * @uses SalesOrder::setMessage()
     * @uses SalesOrder::setPaymentOption()
     * @uses SalesOrder::setInputAuthCode()
     * @uses SalesOrder::setInputReferenceCode()
     * @uses SalesOrder::setCheckNumber()
     * @uses SalesOrder::setPaymentCardCsc()
     * @uses SalesOrder::setPaymentProcessingProfile()
     * @uses SalesOrder::setHandlingMode()
     * @uses SalesOrder::setOutputAuthCode()
     * @uses SalesOrder::setOutputReferenceCode()
     * @uses SalesOrder::setPaymentOperation()
     * @uses SalesOrder::setDynamicDescriptor()
     * @uses SalesOrder::setBillingAddress()
     * @uses SalesOrder::setBillAddressList()
     * @uses SalesOrder::setShippingAddress()
     * @uses SalesOrder::setShipIsResidential()
     * @uses SalesOrder::setShipAddressList()
     * @uses SalesOrder::setFob()
     * @uses SalesOrder::setShipDate()
     * @uses SalesOrder::setActualShipDate()
     * @uses SalesOrder::setShipMethod()
     * @uses SalesOrder::setShippingCost()
     * @uses SalesOrder::setShippingTax1Rate()
     * @uses SalesOrder::setIsMultiShipTo()
     * @uses SalesOrder::setShippingTax2Rate()
     * @uses SalesOrder::setShippingTaxCode()
     * @uses SalesOrder::setHandlingTaxCode()
     * @uses SalesOrder::setHandlingTax1Rate()
     * @uses SalesOrder::setHandlingTax2Rate()
     * @uses SalesOrder::setHandlingCost()
     * @uses SalesOrder::setTrackingNumbers()
     * @uses SalesOrder::setLinkedTrackingNumbers()
     * @uses SalesOrder::setShipComplete()
     * @uses SalesOrder::setPaymentMethod()
     * @uses SalesOrder::setShopperIpAddress()
     * @uses SalesOrder::setSaveOnAuthDecline()
     * @uses SalesOrder::setCanHaveStackable()
     * @uses SalesOrder::setCreditCard()
     * @uses SalesOrder::setRevenueStatus()
     * @uses SalesOrder::setRecognizedRevenue()
     * @uses SalesOrder::setDeferredRevenue()
     * @uses SalesOrder::setRevRecOnRevCommitment()
     * @uses SalesOrder::setRevCommitStatus()
     * @uses SalesOrder::setCcNumber()
     * @uses SalesOrder::setCcExpireDate()
     * @uses SalesOrder::setCcName()
     * @uses SalesOrder::setCcStreet()
     * @uses SalesOrder::setCcZipCode()
     * @uses SalesOrder::setPayPalStatus()
     * @uses SalesOrder::setCreditCardProcessor()
     * @uses SalesOrder::setPayPalTranId()
     * @uses SalesOrder::setCcApproved()
     * @uses SalesOrder::setGetAuth()
     * @uses SalesOrder::setAuthCode()
     * @uses SalesOrder::setCcAvsStreetMatch()
     * @uses SalesOrder::setCcAvsZipMatch()
     * @uses SalesOrder::setIsRecurringPayment()
     * @uses SalesOrder::setCcSecurityCodeMatch()
     * @uses SalesOrder::setAltSalesTotal()
     * @uses SalesOrder::setIgnoreAvs()
     * @uses SalesOrder::setPaymentEventResult()
     * @uses SalesOrder::setPaymentEventHoldReason()
     * @uses SalesOrder::setPaymentEventType()
     * @uses SalesOrder::setPaymentEventDate()
     * @uses SalesOrder::setPaymentEventUpdatedBy()
     * @uses SalesOrder::setSubTotal()
     * @uses SalesOrder::setDiscountTotal()
     * @uses SalesOrder::setTaxTotal()
     * @uses SalesOrder::setAltShippingCost()
     * @uses SalesOrder::setAltHandlingCost()
     * @uses SalesOrder::setTotal()
     * @uses SalesOrder::setRevRecSchedule()
     * @uses SalesOrder::setRevRecStartDate()
     * @uses SalesOrder::setRevRecEndDate()
     * @uses SalesOrder::setPaypalAuthId()
     * @uses SalesOrder::setBalance()
     * @uses SalesOrder::setPaypalProcess()
     * @uses SalesOrder::setBillingSchedule()
     * @uses SalesOrder::setCcSecurityCode()
     * @uses SalesOrder::setThreeDStatusCode()
     * @uses SalesOrder::setClass()
     * @uses SalesOrder::setDepartment()
     * @uses SalesOrder::setSubsidiary()
     * @uses SalesOrder::setIntercoTransaction()
     * @uses SalesOrder::setIntercoStatus()
     * @uses SalesOrder::setDebitCardIssueNo()
     * @uses SalesOrder::setLastModifiedDate()
     * @uses SalesOrder::setNexus()
     * @uses SalesOrder::setSubsidiaryTaxRegNum()
     * @uses SalesOrder::setTaxRegOverride()
     * @uses SalesOrder::setTaxPointDate()
     * @uses SalesOrder::setTaxDetailsOverride()
     * @uses SalesOrder::setLocation()
     * @uses SalesOrder::setPnRefNum()
     * @uses SalesOrder::setStatus()
     * @uses SalesOrder::setTax2Total()
     * @uses SalesOrder::setTerms()
     * @uses SalesOrder::setValidFrom()
     * @uses SalesOrder::setVatRegNum()
     * @uses SalesOrder::setGiftCertApplied()
     * @uses SalesOrder::setOneTime()
     * @uses SalesOrder::setRecurWeekly()
     * @uses SalesOrder::setRecurMonthly()
     * @uses SalesOrder::setRecurQuarterly()
     * @uses SalesOrder::setRecurAnnually()
     * @uses SalesOrder::setTranIsVsoeBundle()
     * @uses SalesOrder::setVsoeAutoCalc()
     * @uses SalesOrder::setSyncPartnerTeams()
     * @uses SalesOrder::setSalesTeamList()
     * @uses SalesOrder::setPartnersList()
     * @uses SalesOrder::setGiftCertRedemptionList()
     * @uses SalesOrder::setPromotionsList()
     * @uses SalesOrder::setItemList()
     * @uses SalesOrder::setShipGroupList()
     * @uses SalesOrder::setAccountingBookDetailList()
     * @uses SalesOrder::setTaxDetailsList()
     * @uses SalesOrder::setCustomFieldList()
     * @uses SalesOrder::setInternalId()
     * @uses SalesOrder::setExternalId()
     * @param string $createdDate
     * @param \StructType\RecordRef $customForm
     * @param \StructType\RecordRef $entity
     * @param \StructType\RecordRef $job
     * @param \StructType\RecordRef $currency
     * @param \StructType\RecordRef $drAccount
     * @param \StructType\RecordRef $fxAccount
     * @param string $tranDate
     * @param string $tranId
     * @param \StructType\RecordRef $entityTaxRegNum
     * @param string $source
     * @param \StructType\RecordRef $createdFrom
     * @param string $orderStatus
     * @param string $nextBill
     * @param \StructType\RecordRef $opportunity
     * @param \StructType\RecordRef $salesRep
     * @param string $contribPct
     * @param \StructType\RecordRef $partner
     * @param \StructType\RecordRef $salesGroup
     * @param bool $syncSalesTeams
     * @param \StructType\RecordRef $leadSource
     * @param string $startDate
     * @param string $endDate
     * @param string $otherRefNum
     * @param string $memo
     * @param string $salesEffectiveDate
     * @param bool $excludeCommission
     * @param float $totalCostEstimate
     * @param float $estGrossProfit
     * @param float $estGrossProfitPercent
     * @param float $exchangeRate
     * @param \StructType\RecordRef $promoCode
     * @param string $currencyName
     * @param \StructType\RecordRef $discountItem
     * @param string $discountRate
     * @param bool $isTaxable
     * @param \StructType\RecordRef $taxItem
     * @param float $taxRate
     * @param bool $toBePrinted
     * @param bool $toBeEmailed
     * @param string $email
     * @param bool $toBeFaxed
     * @param string $fax
     * @param \StructType\RecordRef $messageSel
     * @param string $message
     * @param \StructType\RecordRef $paymentOption
     * @param string $inputAuthCode
     * @param string $inputReferenceCode
     * @param string $checkNumber
     * @param string $paymentCardCsc
     * @param \StructType\RecordRef $paymentProcessingProfile
     * @param string $handlingMode
     * @param string $outputAuthCode
     * @param string $outputReferenceCode
     * @param string $paymentOperation
     * @param string $dynamicDescriptor
     * @param \StructType\Address $billingAddress
     * @param \StructType\RecordRef $billAddressList
     * @param \StructType\Address $shippingAddress
     * @param bool $shipIsResidential
     * @param \StructType\RecordRef $shipAddressList
     * @param string $fob
     * @param string $shipDate
     * @param string $actualShipDate
     * @param \StructType\RecordRef $shipMethod
     * @param float $shippingCost
     * @param float $shippingTax1Rate
     * @param bool $isMultiShipTo
     * @param string $shippingTax2Rate
     * @param \StructType\RecordRef $shippingTaxCode
     * @param \StructType\RecordRef $handlingTaxCode
     * @param float $handlingTax1Rate
     * @param string $handlingTax2Rate
     * @param float $handlingCost
     * @param string $trackingNumbers
     * @param string $linkedTrackingNumbers
     * @param bool $shipComplete
     * @param \StructType\RecordRef $paymentMethod
     * @param string $shopperIpAddress
     * @param bool $saveOnAuthDecline
     * @param bool $canHaveStackable
     * @param \StructType\RecordRef $creditCard
     * @param string $revenueStatus
     * @param float $recognizedRevenue
     * @param float $deferredRevenue
     * @param bool $revRecOnRevCommitment
     * @param string $revCommitStatus
     * @param string $ccNumber
     * @param string $ccExpireDate
     * @param string $ccName
     * @param string $ccStreet
     * @param string $ccZipCode
     * @param string $payPalStatus
     * @param \StructType\RecordRef $creditCardProcessor
     * @param string $payPalTranId
     * @param bool $ccApproved
     * @param bool $getAuth
     * @param string $authCode
     * @param string $ccAvsStreetMatch
     * @param string $ccAvsZipMatch
     * @param bool $isRecurringPayment
     * @param string $ccSecurityCodeMatch
     * @param float $altSalesTotal
     * @param bool $ignoreAvs
     * @param string $paymentEventResult
     * @param string $paymentEventHoldReason
     * @param string $paymentEventType
     * @param string $paymentEventDate
     * @param string $paymentEventUpdatedBy
     * @param float $subTotal
     * @param float $discountTotal
     * @param float $taxTotal
     * @param float $altShippingCost
     * @param float $altHandlingCost
     * @param float $total
     * @param \StructType\RecordRef $revRecSchedule
     * @param string $revRecStartDate
     * @param string $revRecEndDate
     * @param string $paypalAuthId
     * @param float $balance
     * @param bool $paypalProcess
     * @param \StructType\RecordRef $billingSchedule
     * @param string $ccSecurityCode
     * @param string $threeDStatusCode
     * @param \StructType\RecordRef $class
     * @param \StructType\RecordRef $department
     * @param \StructType\RecordRef $subsidiary
     * @param \StructType\RecordRef $intercoTransaction
     * @param string $intercoStatus
     * @param string $debitCardIssueNo
     * @param string $lastModifiedDate
     * @param \StructType\RecordRef $nexus
     * @param \StructType\RecordRef $subsidiaryTaxRegNum
     * @param bool $taxRegOverride
     * @param string $taxPointDate
     * @param bool $taxDetailsOverride
     * @param \StructType\RecordRef $location
     * @param string $pnRefNum
     * @param string $status
     * @param float $tax2Total
     * @param \StructType\RecordRef $terms
     * @param string $validFrom
     * @param string $vatRegNum
     * @param float $giftCertApplied
     * @param float $oneTime
     * @param float $recurWeekly
     * @param float $recurMonthly
     * @param float $recurQuarterly
     * @param float $recurAnnually
     * @param bool $tranIsVsoeBundle
     * @param bool $vsoeAutoCalc
     * @param bool $syncPartnerTeams
     * @param \StructType\SalesOrderSalesTeamList $salesTeamList
     * @param \StructType\SalesOrderPartnersList $partnersList
     * @param \StructType\GiftCertRedemptionList $giftCertRedemptionList
     * @param \StructType\PromotionsList $promotionsList
     * @param \StructType\SalesOrderItemList $itemList
     * @param \StructType\SalesOrderShipGroupList $shipGroupList
     * @param \StructType\AccountingBookDetailList $accountingBookDetailList
     * @param \StructType\TaxDetailsList $taxDetailsList
     * @param \StructType\CustomFieldList $customFieldList
     * @param string $internalId
     * @param string $externalId
     */
    public function __construct($createdDate = null, \StructType\RecordRef $customForm = null, \StructType\RecordRef $entity = null, \StructType\RecordRef $job = null, \StructType\RecordRef $currency = null, \StructType\RecordRef $drAccount = null, \StructType\RecordRef $fxAccount = null, $tranDate = null, $tranId = null, \StructType\RecordRef $entityTaxRegNum = null, $source = null, \StructType\RecordRef $createdFrom = null, $orderStatus = null, $nextBill = null, \StructType\RecordRef $opportunity = null, \StructType\RecordRef $salesRep = null, $contribPct = null, \StructType\RecordRef $partner = null, \StructType\RecordRef $salesGroup = null, $syncSalesTeams = null, \StructType\RecordRef $leadSource = null, $startDate = null, $endDate = null, $otherRefNum = null, $memo = null, $salesEffectiveDate = null, $excludeCommission = null, $totalCostEstimate = null, $estGrossProfit = null, $estGrossProfitPercent = null, $exchangeRate = null, \StructType\RecordRef $promoCode = null, $currencyName = null, \StructType\RecordRef $discountItem = null, $discountRate = null, $isTaxable = null, \StructType\RecordRef $taxItem = null, $taxRate = null, $toBePrinted = null, $toBeEmailed = null, $email = null, $toBeFaxed = null, $fax = null, \StructType\RecordRef $messageSel = null, $message = null, \StructType\RecordRef $paymentOption = null, $inputAuthCode = null, $inputReferenceCode = null, $checkNumber = null, $paymentCardCsc = null, \StructType\RecordRef $paymentProcessingProfile = null, $handlingMode = null, $outputAuthCode = null, $outputReferenceCode = null, $paymentOperation = null, $dynamicDescriptor = null, \StructType\Address $billingAddress = null, \StructType\RecordRef $billAddressList = null, \StructType\Address $shippingAddress = null, $shipIsResidential = null, \StructType\RecordRef $shipAddressList = null, $fob = null, $shipDate = null, $actualShipDate = null, \StructType\RecordRef $shipMethod = null, $shippingCost = null, $shippingTax1Rate = null, $isMultiShipTo = null, $shippingTax2Rate = null, \StructType\RecordRef $shippingTaxCode = null, \StructType\RecordRef $handlingTaxCode = null, $handlingTax1Rate = null, $handlingTax2Rate = null, $handlingCost = null, $trackingNumbers = null, $linkedTrackingNumbers = null, $shipComplete = null, \StructType\RecordRef $paymentMethod = null, $shopperIpAddress = null, $saveOnAuthDecline = null, $canHaveStackable = null, \StructType\RecordRef $creditCard = null, $revenueStatus = null, $recognizedRevenue = null, $deferredRevenue = null, $revRecOnRevCommitment = null, $revCommitStatus = null, $ccNumber = null, $ccExpireDate = null, $ccName = null, $ccStreet = null, $ccZipCode = null, $payPalStatus = null, \StructType\RecordRef $creditCardProcessor = null, $payPalTranId = null, $ccApproved = null, $getAuth = null, $authCode = null, $ccAvsStreetMatch = null, $ccAvsZipMatch = null, $isRecurringPayment = null, $ccSecurityCodeMatch = null, $altSalesTotal = null, $ignoreAvs = null, $paymentEventResult = null, $paymentEventHoldReason = null, $paymentEventType = null, $paymentEventDate = null, $paymentEventUpdatedBy = null, $subTotal = null, $discountTotal = null, $taxTotal = null, $altShippingCost = null, $altHandlingCost = null, $total = null, \StructType\RecordRef $revRecSchedule = null, $revRecStartDate = null, $revRecEndDate = null, $paypalAuthId = null, $balance = null, $paypalProcess = null, \StructType\RecordRef $billingSchedule = null, $ccSecurityCode = null, $threeDStatusCode = null, \StructType\RecordRef $class = null, \StructType\RecordRef $department = null, \StructType\RecordRef $subsidiary = null, \StructType\RecordRef $intercoTransaction = null, $intercoStatus = null, $debitCardIssueNo = null, $lastModifiedDate = null, \StructType\RecordRef $nexus = null, \StructType\RecordRef $subsidiaryTaxRegNum = null, $taxRegOverride = null, $taxPointDate = null, $taxDetailsOverride = null, \StructType\RecordRef $location = null, $pnRefNum = null, $status = null, $tax2Total = null, \StructType\RecordRef $terms = null, $validFrom = null, $vatRegNum = null, $giftCertApplied = null, $oneTime = null, $recurWeekly = null, $recurMonthly = null, $recurQuarterly = null, $recurAnnually = null, $tranIsVsoeBundle = null, $vsoeAutoCalc = null, $syncPartnerTeams = null, \StructType\SalesOrderSalesTeamList $salesTeamList = null, \StructType\SalesOrderPartnersList $partnersList = null, \StructType\GiftCertRedemptionList $giftCertRedemptionList = null, \StructType\PromotionsList $promotionsList = null, \StructType\SalesOrderItemList $itemList = null, \StructType\SalesOrderShipGroupList $shipGroupList = null, \StructType\AccountingBookDetailList $accountingBookDetailList = null, \StructType\TaxDetailsList $taxDetailsList = null, \StructType\CustomFieldList $customFieldList = null, $internalId = null, $externalId = null)
    {
        $this
            ->setCreatedDate($createdDate)
            ->setCustomForm($customForm)
            ->setEntity($entity)
            ->setJob($job)
            ->setCurrency($currency)
            ->setDrAccount($drAccount)
            ->setFxAccount($fxAccount)
            ->setTranDate($tranDate)
            ->setTranId($tranId)
            ->setEntityTaxRegNum($entityTaxRegNum)
            ->setSource($source)
            ->setCreatedFrom($createdFrom)
            ->setOrderStatus($orderStatus)
            ->setNextBill($nextBill)
            ->setOpportunity($opportunity)
            ->setSalesRep($salesRep)
            ->setContribPct($contribPct)
            ->setPartner($partner)
            ->setSalesGroup($salesGroup)
            ->setSyncSalesTeams($syncSalesTeams)
            ->setLeadSource($leadSource)
            ->setStartDate($startDate)
            ->setEndDate($endDate)
            ->setOtherRefNum($otherRefNum)
            ->setMemo($memo)
            ->setSalesEffectiveDate($salesEffectiveDate)
            ->setExcludeCommission($excludeCommission)
            ->setTotalCostEstimate($totalCostEstimate)
            ->setEstGrossProfit($estGrossProfit)
            ->setEstGrossProfitPercent($estGrossProfitPercent)
            ->setExchangeRate($exchangeRate)
            ->setPromoCode($promoCode)
            ->setCurrencyName($currencyName)
            ->setDiscountItem($discountItem)
            ->setDiscountRate($discountRate)
            ->setIsTaxable($isTaxable)
            ->setTaxItem($taxItem)
            ->setTaxRate($taxRate)
            ->setToBePrinted($toBePrinted)
            ->setToBeEmailed($toBeEmailed)
            ->setEmail($email)
            ->setToBeFaxed($toBeFaxed)
            ->setFax($fax)
            ->setMessageSel($messageSel)
            ->setMessage($message)
            ->setPaymentOption($paymentOption)
            ->setInputAuthCode($inputAuthCode)
            ->setInputReferenceCode($inputReferenceCode)
            ->setCheckNumber($checkNumber)
            ->setPaymentCardCsc($paymentCardCsc)
            ->setPaymentProcessingProfile($paymentProcessingProfile)
            ->setHandlingMode($handlingMode)
            ->setOutputAuthCode($outputAuthCode)
            ->setOutputReferenceCode($outputReferenceCode)
            ->setPaymentOperation($paymentOperation)
            ->setDynamicDescriptor($dynamicDescriptor)
            ->setBillingAddress($billingAddress)
            ->setBillAddressList($billAddressList)
            ->setShippingAddress($shippingAddress)
            ->setShipIsResidential($shipIsResidential)
            ->setShipAddressList($shipAddressList)
            ->setFob($fob)
            ->setShipDate($shipDate)
            ->setActualShipDate($actualShipDate)
            ->setShipMethod($shipMethod)
            ->setShippingCost($shippingCost)
            ->setShippingTax1Rate($shippingTax1Rate)
            ->setIsMultiShipTo($isMultiShipTo)
            ->setShippingTax2Rate($shippingTax2Rate)
            ->setShippingTaxCode($shippingTaxCode)
            ->setHandlingTaxCode($handlingTaxCode)
            ->setHandlingTax1Rate($handlingTax1Rate)
            ->setHandlingTax2Rate($handlingTax2Rate)
            ->setHandlingCost($handlingCost)
            ->setTrackingNumbers($trackingNumbers)
            ->setLinkedTrackingNumbers($linkedTrackingNumbers)
            ->setShipComplete($shipComplete)
            ->setPaymentMethod($paymentMethod)
            ->setShopperIpAddress($shopperIpAddress)
            ->setSaveOnAuthDecline($saveOnAuthDecline)
            ->setCanHaveStackable($canHaveStackable)
            ->setCreditCard($creditCard)
            ->setRevenueStatus($revenueStatus)
            ->setRecognizedRevenue($recognizedRevenue)
            ->setDeferredRevenue($deferredRevenue)
            ->setRevRecOnRevCommitment($revRecOnRevCommitment)
            ->setRevCommitStatus($revCommitStatus)
            ->setCcNumber($ccNumber)
            ->setCcExpireDate($ccExpireDate)
            ->setCcName($ccName)
            ->setCcStreet($ccStreet)
            ->setCcZipCode($ccZipCode)
            ->setPayPalStatus($payPalStatus)
            ->setCreditCardProcessor($creditCardProcessor)
            ->setPayPalTranId($payPalTranId)
            ->setCcApproved($ccApproved)
            ->setGetAuth($getAuth)
            ->setAuthCode($authCode)
            ->setCcAvsStreetMatch($ccAvsStreetMatch)
            ->setCcAvsZipMatch($ccAvsZipMatch)
            ->setIsRecurringPayment($isRecurringPayment)
            ->setCcSecurityCodeMatch($ccSecurityCodeMatch)
            ->setAltSalesTotal($altSalesTotal)
            ->setIgnoreAvs($ignoreAvs)
            ->setPaymentEventResult($paymentEventResult)
            ->setPaymentEventHoldReason($paymentEventHoldReason)
            ->setPaymentEventType($paymentEventType)
            ->setPaymentEventDate($paymentEventDate)
            ->setPaymentEventUpdatedBy($paymentEventUpdatedBy)
            ->setSubTotal($subTotal)
            ->setDiscountTotal($discountTotal)
            ->setTaxTotal($taxTotal)
            ->setAltShippingCost($altShippingCost)
            ->setAltHandlingCost($altHandlingCost)
            ->setTotal($total)
            ->setRevRecSchedule($revRecSchedule)
            ->setRevRecStartDate($revRecStartDate)
            ->setRevRecEndDate($revRecEndDate)
            ->setPaypalAuthId($paypalAuthId)
            ->setBalance($balance)
            ->setPaypalProcess($paypalProcess)
            ->setBillingSchedule($billingSchedule)
            ->setCcSecurityCode($ccSecurityCode)
            ->setThreeDStatusCode($threeDStatusCode)
            ->setClass($class)
            ->setDepartment($department)
            ->setSubsidiary($subsidiary)
            ->setIntercoTransaction($intercoTransaction)
            ->setIntercoStatus($intercoStatus)
            ->setDebitCardIssueNo($debitCardIssueNo)
            ->setLastModifiedDate($lastModifiedDate)
            ->setNexus($nexus)
            ->setSubsidiaryTaxRegNum($subsidiaryTaxRegNum)
            ->setTaxRegOverride($taxRegOverride)
            ->setTaxPointDate($taxPointDate)
            ->setTaxDetailsOverride($taxDetailsOverride)
            ->setLocation($location)
            ->setPnRefNum($pnRefNum)
            ->setStatus($status)
            ->setTax2Total($tax2Total)
            ->setTerms($terms)
            ->setValidFrom($validFrom)
            ->setVatRegNum($vatRegNum)
            ->setGiftCertApplied($giftCertApplied)
            ->setOneTime($oneTime)
            ->setRecurWeekly($recurWeekly)
            ->setRecurMonthly($recurMonthly)
            ->setRecurQuarterly($recurQuarterly)
            ->setRecurAnnually($recurAnnually)
            ->setTranIsVsoeBundle($tranIsVsoeBundle)
            ->setVsoeAutoCalc($vsoeAutoCalc)
            ->setSyncPartnerTeams($syncPartnerTeams)
            ->setSalesTeamList($salesTeamList)
            ->setPartnersList($partnersList)
            ->setGiftCertRedemptionList($giftCertRedemptionList)
            ->setPromotionsList($promotionsList)
            ->setItemList($itemList)
            ->setShipGroupList($shipGroupList)
            ->setAccountingBookDetailList($accountingBookDetailList)
            ->setTaxDetailsList($taxDetailsList)
            ->setCustomFieldList($customFieldList)
            ->setInternalId($internalId)
            ->setExternalId($externalId);
    }
    /**
     * Get createdDate value
     * @return string|null
     */
    public function getCreatedDate()
    {
        return $this->createdDate;
    }
    /**
     * Set createdDate value
     * @param string $createdDate
     * @return \StructType\SalesOrder
     */
    public function setCreatedDate($createdDate = null)
    {
        // validation for constraint: string
        if (!is_null($createdDate) && !is_string($createdDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($createdDate, true), gettype($createdDate)), __LINE__);
        }
        $this->createdDate = $createdDate;
        return $this;
    }
    /**
     * Get customForm value
     * @return \StructType\RecordRef|null
     */
    public function getCustomForm()
    {
        return $this->customForm;
    }
    /**
     * Set customForm value
     * @param \StructType\RecordRef $customForm
     * @return \StructType\SalesOrder
     */
    public function setCustomForm(\StructType\RecordRef $customForm = null)
    {
        $this->customForm = $customForm;
        return $this;
    }
    /**
     * Get entity value
     * @return \StructType\RecordRef|null
     */
    public function getEntity()
    {
        return $this->entity;
    }
    /**
     * Set entity value
     * @param \StructType\RecordRef $entity
     * @return \StructType\SalesOrder
     */
    public function setEntity(\StructType\RecordRef $entity = null)
    {
        $this->entity = $entity;
        return $this;
    }
    /**
     * Get job value
     * @return \StructType\RecordRef|null
     */
    public function getJob()
    {
        return $this->job;
    }
    /**
     * Set job value
     * @param \StructType\RecordRef $job
     * @return \StructType\SalesOrder
     */
    public function setJob(\StructType\RecordRef $job = null)
    {
        $this->job = $job;
        return $this;
    }
    /**
     * Get currency value
     * @return \StructType\RecordRef|null
     */
    public function getCurrency()
    {
        return $this->currency;
    }
    /**
     * Set currency value
     * @param \StructType\RecordRef $currency
     * @return \StructType\SalesOrder
     */
    public function setCurrency(\StructType\RecordRef $currency = null)
    {
        $this->currency = $currency;
        return $this;
    }
    /**
     * Get drAccount value
     * @return \StructType\RecordRef|null
     */
    public function getDrAccount()
    {
        return $this->drAccount;
    }
    /**
     * Set drAccount value
     * @param \StructType\RecordRef $drAccount
     * @return \StructType\SalesOrder
     */
    public function setDrAccount(\StructType\RecordRef $drAccount = null)
    {
        $this->drAccount = $drAccount;
        return $this;
    }
    /**
     * Get fxAccount value
     * @return \StructType\RecordRef|null
     */
    public function getFxAccount()
    {
        return $this->fxAccount;
    }
    /**
     * Set fxAccount value
     * @param \StructType\RecordRef $fxAccount
     * @return \StructType\SalesOrder
     */
    public function setFxAccount(\StructType\RecordRef $fxAccount = null)
    {
        $this->fxAccount = $fxAccount;
        return $this;
    }
    /**
     * Get tranDate value
     * @return string|null
     */
    public function getTranDate()
    {
        return $this->tranDate;
    }
    /**
     * Set tranDate value
     * @param string $tranDate
     * @return \StructType\SalesOrder
     */
    public function setTranDate($tranDate = null)
    {
        // validation for constraint: string
        if (!is_null($tranDate) && !is_string($tranDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($tranDate, true), gettype($tranDate)), __LINE__);
        }
        $this->tranDate = $tranDate;
        return $this;
    }
    /**
     * Get tranId value
     * @return string|null
     */
    public function getTranId()
    {
        return $this->tranId;
    }
    /**
     * Set tranId value
     * @param string $tranId
     * @return \StructType\SalesOrder
     */
    public function setTranId($tranId = null)
    {
        // validation for constraint: string
        if (!is_null($tranId) && !is_string($tranId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($tranId, true), gettype($tranId)), __LINE__);
        }
        $this->tranId = $tranId;
        return $this;
    }
    /**
     * Get entityTaxRegNum value
     * @return \StructType\RecordRef|null
     */
    public function getEntityTaxRegNum()
    {
        return $this->entityTaxRegNum;
    }
    /**
     * Set entityTaxRegNum value
     * @param \StructType\RecordRef $entityTaxRegNum
     * @return \StructType\SalesOrder
     */
    public function setEntityTaxRegNum(\StructType\RecordRef $entityTaxRegNum = null)
    {
        $this->entityTaxRegNum = $entityTaxRegNum;
        return $this;
    }
    /**
     * Get source value
     * @return string|null
     */
    public function getSource()
    {
        return $this->source;
    }
    /**
     * Set source value
     * @param string $source
     * @return \StructType\SalesOrder
     */
    public function setSource($source = null)
    {
        // validation for constraint: string
        if (!is_null($source) && !is_string($source)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($source, true), gettype($source)), __LINE__);
        }
        $this->source = $source;
        return $this;
    }
    /**
     * Get createdFrom value
     * @return \StructType\RecordRef|null
     */
    public function getCreatedFrom()
    {
        return $this->createdFrom;
    }
    /**
     * Set createdFrom value
     * @param \StructType\RecordRef $createdFrom
     * @return \StructType\SalesOrder
     */
    public function setCreatedFrom(\StructType\RecordRef $createdFrom = null)
    {
        $this->createdFrom = $createdFrom;
        return $this;
    }
    /**
     * Get orderStatus value
     * @return string|null
     */
    public function getOrderStatus()
    {
        return $this->orderStatus;
    }
    /**
     * Set orderStatus value
     * @uses \EnumType\SalesOrderOrderStatus::valueIsValid()
     * @uses \EnumType\SalesOrderOrderStatus::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $orderStatus
     * @return \StructType\SalesOrder
     */
    public function setOrderStatus($orderStatus = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\SalesOrderOrderStatus::valueIsValid($orderStatus)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\SalesOrderOrderStatus', is_array($orderStatus) ? implode(', ', $orderStatus) : var_export($orderStatus, true), implode(', ', \EnumType\SalesOrderOrderStatus::getValidValues())), __LINE__);
        }
        $this->orderStatus = $orderStatus;
        return $this;
    }
    /**
     * Get nextBill value
     * @return string|null
     */
    public function getNextBill()
    {
        return $this->nextBill;
    }
    /**
     * Set nextBill value
     * @param string $nextBill
     * @return \StructType\SalesOrder
     */
    public function setNextBill($nextBill = null)
    {
        // validation for constraint: string
        if (!is_null($nextBill) && !is_string($nextBill)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($nextBill, true), gettype($nextBill)), __LINE__);
        }
        $this->nextBill = $nextBill;
        return $this;
    }
    /**
     * Get opportunity value
     * @return \StructType\RecordRef|null
     */
    public function getOpportunity()
    {
        return $this->opportunity;
    }
    /**
     * Set opportunity value
     * @param \StructType\RecordRef $opportunity
     * @return \StructType\SalesOrder
     */
    public function setOpportunity(\StructType\RecordRef $opportunity = null)
    {
        $this->opportunity = $opportunity;
        return $this;
    }
    /**
     * Get salesRep value
     * @return \StructType\RecordRef|null
     */
    public function getSalesRep()
    {
        return $this->salesRep;
    }
    /**
     * Set salesRep value
     * @param \StructType\RecordRef $salesRep
     * @return \StructType\SalesOrder
     */
    public function setSalesRep(\StructType\RecordRef $salesRep = null)
    {
        $this->salesRep = $salesRep;
        return $this;
    }
    /**
     * Get contribPct value
     * @return string|null
     */
    public function getContribPct()
    {
        return $this->contribPct;
    }
    /**
     * Set contribPct value
     * @param string $contribPct
     * @return \StructType\SalesOrder
     */
    public function setContribPct($contribPct = null)
    {
        // validation for constraint: string
        if (!is_null($contribPct) && !is_string($contribPct)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($contribPct, true), gettype($contribPct)), __LINE__);
        }
        $this->contribPct = $contribPct;
        return $this;
    }
    /**
     * Get partner value
     * @return \StructType\RecordRef|null
     */
    public function getPartner()
    {
        return $this->partner;
    }
    /**
     * Set partner value
     * @param \StructType\RecordRef $partner
     * @return \StructType\SalesOrder
     */
    public function setPartner(\StructType\RecordRef $partner = null)
    {
        $this->partner = $partner;
        return $this;
    }
    /**
     * Get salesGroup value
     * @return \StructType\RecordRef|null
     */
    public function getSalesGroup()
    {
        return $this->salesGroup;
    }
    /**
     * Set salesGroup value
     * @param \StructType\RecordRef $salesGroup
     * @return \StructType\SalesOrder
     */
    public function setSalesGroup(\StructType\RecordRef $salesGroup = null)
    {
        $this->salesGroup = $salesGroup;
        return $this;
    }
    /**
     * Get syncSalesTeams value
     * @return bool|null
     */
    public function getSyncSalesTeams()
    {
        return $this->syncSalesTeams;
    }
    /**
     * Set syncSalesTeams value
     * @param bool $syncSalesTeams
     * @return \StructType\SalesOrder
     */
    public function setSyncSalesTeams($syncSalesTeams = null)
    {
        // validation for constraint: boolean
        if (!is_null($syncSalesTeams) && !is_bool($syncSalesTeams)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($syncSalesTeams, true), gettype($syncSalesTeams)), __LINE__);
        }
        $this->syncSalesTeams = $syncSalesTeams;
        return $this;
    }
    /**
     * Get leadSource value
     * @return \StructType\RecordRef|null
     */
    public function getLeadSource()
    {
        return $this->leadSource;
    }
    /**
     * Set leadSource value
     * @param \StructType\RecordRef $leadSource
     * @return \StructType\SalesOrder
     */
    public function setLeadSource(\StructType\RecordRef $leadSource = null)
    {
        $this->leadSource = $leadSource;
        return $this;
    }
    /**
     * Get startDate value
     * @return string|null
     */
    public function getStartDate()
    {
        return $this->startDate;
    }
    /**
     * Set startDate value
     * @param string $startDate
     * @return \StructType\SalesOrder
     */
    public function setStartDate($startDate = null)
    {
        // validation for constraint: string
        if (!is_null($startDate) && !is_string($startDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($startDate, true), gettype($startDate)), __LINE__);
        }
        $this->startDate = $startDate;
        return $this;
    }
    /**
     * Get endDate value
     * @return string|null
     */
    public function getEndDate()
    {
        return $this->endDate;
    }
    /**
     * Set endDate value
     * @param string $endDate
     * @return \StructType\SalesOrder
     */
    public function setEndDate($endDate = null)
    {
        // validation for constraint: string
        if (!is_null($endDate) && !is_string($endDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($endDate, true), gettype($endDate)), __LINE__);
        }
        $this->endDate = $endDate;
        return $this;
    }
    /**
     * Get otherRefNum value
     * @return string|null
     */
    public function getOtherRefNum()
    {
        return $this->otherRefNum;
    }
    /**
     * Set otherRefNum value
     * @param string $otherRefNum
     * @return \StructType\SalesOrder
     */
    public function setOtherRefNum($otherRefNum = null)
    {
        // validation for constraint: string
        if (!is_null($otherRefNum) && !is_string($otherRefNum)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($otherRefNum, true), gettype($otherRefNum)), __LINE__);
        }
        $this->otherRefNum = $otherRefNum;
        return $this;
    }
    /**
     * Get memo value
     * @return string|null
     */
    public function getMemo()
    {
        return $this->memo;
    }
    /**
     * Set memo value
     * @param string $memo
     * @return \StructType\SalesOrder
     */
    public function setMemo($memo = null)
    {
        // validation for constraint: string
        if (!is_null($memo) && !is_string($memo)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($memo, true), gettype($memo)), __LINE__);
        }
        $this->memo = $memo;
        return $this;
    }
    /**
     * Get salesEffectiveDate value
     * @return string|null
     */
    public function getSalesEffectiveDate()
    {
        return $this->salesEffectiveDate;
    }
    /**
     * Set salesEffectiveDate value
     * @param string $salesEffectiveDate
     * @return \StructType\SalesOrder
     */
    public function setSalesEffectiveDate($salesEffectiveDate = null)
    {
        // validation for constraint: string
        if (!is_null($salesEffectiveDate) && !is_string($salesEffectiveDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($salesEffectiveDate, true), gettype($salesEffectiveDate)), __LINE__);
        }
        $this->salesEffectiveDate = $salesEffectiveDate;
        return $this;
    }
    /**
     * Get excludeCommission value
     * @return bool|null
     */
    public function getExcludeCommission()
    {
        return $this->excludeCommission;
    }
    /**
     * Set excludeCommission value
     * @param bool $excludeCommission
     * @return \StructType\SalesOrder
     */
    public function setExcludeCommission($excludeCommission = null)
    {
        // validation for constraint: boolean
        if (!is_null($excludeCommission) && !is_bool($excludeCommission)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($excludeCommission, true), gettype($excludeCommission)), __LINE__);
        }
        $this->excludeCommission = $excludeCommission;
        return $this;
    }
    /**
     * Get totalCostEstimate value
     * @return float|null
     */
    public function getTotalCostEstimate()
    {
        return $this->totalCostEstimate;
    }
    /**
     * Set totalCostEstimate value
     * @param float $totalCostEstimate
     * @return \StructType\SalesOrder
     */
    public function setTotalCostEstimate($totalCostEstimate = null)
    {
        // validation for constraint: float
        if (!is_null($totalCostEstimate) && !(is_float($totalCostEstimate) || is_numeric($totalCostEstimate))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($totalCostEstimate, true), gettype($totalCostEstimate)), __LINE__);
        }
        $this->totalCostEstimate = $totalCostEstimate;
        return $this;
    }
    /**
     * Get estGrossProfit value
     * @return float|null
     */
    public function getEstGrossProfit()
    {
        return $this->estGrossProfit;
    }
    /**
     * Set estGrossProfit value
     * @param float $estGrossProfit
     * @return \StructType\SalesOrder
     */
    public function setEstGrossProfit($estGrossProfit = null)
    {
        // validation for constraint: float
        if (!is_null($estGrossProfit) && !(is_float($estGrossProfit) || is_numeric($estGrossProfit))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($estGrossProfit, true), gettype($estGrossProfit)), __LINE__);
        }
        $this->estGrossProfit = $estGrossProfit;
        return $this;
    }
    /**
     * Get estGrossProfitPercent value
     * @return float|null
     */
    public function getEstGrossProfitPercent()
    {
        return $this->estGrossProfitPercent;
    }
    /**
     * Set estGrossProfitPercent value
     * @param float $estGrossProfitPercent
     * @return \StructType\SalesOrder
     */
    public function setEstGrossProfitPercent($estGrossProfitPercent = null)
    {
        // validation for constraint: float
        if (!is_null($estGrossProfitPercent) && !(is_float($estGrossProfitPercent) || is_numeric($estGrossProfitPercent))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($estGrossProfitPercent, true), gettype($estGrossProfitPercent)), __LINE__);
        }
        $this->estGrossProfitPercent = $estGrossProfitPercent;
        return $this;
    }
    /**
     * Get exchangeRate value
     * @return float|null
     */
    public function getExchangeRate()
    {
        return $this->exchangeRate;
    }
    /**
     * Set exchangeRate value
     * @param float $exchangeRate
     * @return \StructType\SalesOrder
     */
    public function setExchangeRate($exchangeRate = null)
    {
        // validation for constraint: float
        if (!is_null($exchangeRate) && !(is_float($exchangeRate) || is_numeric($exchangeRate))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($exchangeRate, true), gettype($exchangeRate)), __LINE__);
        }
        $this->exchangeRate = $exchangeRate;
        return $this;
    }
    /**
     * Get promoCode value
     * @return \StructType\RecordRef|null
     */
    public function getPromoCode()
    {
        return $this->promoCode;
    }
    /**
     * Set promoCode value
     * @param \StructType\RecordRef $promoCode
     * @return \StructType\SalesOrder
     */
    public function setPromoCode(\StructType\RecordRef $promoCode = null)
    {
        $this->promoCode = $promoCode;
        return $this;
    }
    /**
     * Get currencyName value
     * @return string|null
     */
    public function getCurrencyName()
    {
        return $this->currencyName;
    }
    /**
     * Set currencyName value
     * @param string $currencyName
     * @return \StructType\SalesOrder
     */
    public function setCurrencyName($currencyName = null)
    {
        // validation for constraint: string
        if (!is_null($currencyName) && !is_string($currencyName)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($currencyName, true), gettype($currencyName)), __LINE__);
        }
        $this->currencyName = $currencyName;
        return $this;
    }
    /**
     * Get discountItem value
     * @return \StructType\RecordRef|null
     */
    public function getDiscountItem()
    {
        return $this->discountItem;
    }
    /**
     * Set discountItem value
     * @param \StructType\RecordRef $discountItem
     * @return \StructType\SalesOrder
     */
    public function setDiscountItem(\StructType\RecordRef $discountItem = null)
    {
        $this->discountItem = $discountItem;
        return $this;
    }
    /**
     * Get discountRate value
     * @return string|null
     */
    public function getDiscountRate()
    {
        return $this->discountRate;
    }
    /**
     * Set discountRate value
     * @param string $discountRate
     * @return \StructType\SalesOrder
     */
    public function setDiscountRate($discountRate = null)
    {
        // validation for constraint: string
        if (!is_null($discountRate) && !is_string($discountRate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($discountRate, true), gettype($discountRate)), __LINE__);
        }
        $this->discountRate = $discountRate;
        return $this;
    }
    /**
     * Get isTaxable value
     * @return bool|null
     */
    public function getIsTaxable()
    {
        return $this->isTaxable;
    }
    /**
     * Set isTaxable value
     * @param bool $isTaxable
     * @return \StructType\SalesOrder
     */
    public function setIsTaxable($isTaxable = null)
    {
        // validation for constraint: boolean
        if (!is_null($isTaxable) && !is_bool($isTaxable)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isTaxable, true), gettype($isTaxable)), __LINE__);
        }
        $this->isTaxable = $isTaxable;
        return $this;
    }
    /**
     * Get taxItem value
     * @return \StructType\RecordRef|null
     */
    public function getTaxItem()
    {
        return $this->taxItem;
    }
    /**
     * Set taxItem value
     * @param \StructType\RecordRef $taxItem
     * @return \StructType\SalesOrder
     */
    public function setTaxItem(\StructType\RecordRef $taxItem = null)
    {
        $this->taxItem = $taxItem;
        return $this;
    }
    /**
     * Get taxRate value
     * @return float|null
     */
    public function getTaxRate()
    {
        return $this->taxRate;
    }
    /**
     * Set taxRate value
     * @param float $taxRate
     * @return \StructType\SalesOrder
     */
    public function setTaxRate($taxRate = null)
    {
        // validation for constraint: float
        if (!is_null($taxRate) && !(is_float($taxRate) || is_numeric($taxRate))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($taxRate, true), gettype($taxRate)), __LINE__);
        }
        $this->taxRate = $taxRate;
        return $this;
    }
    /**
     * Get toBePrinted value
     * @return bool|null
     */
    public function getToBePrinted()
    {
        return $this->toBePrinted;
    }
    /**
     * Set toBePrinted value
     * @param bool $toBePrinted
     * @return \StructType\SalesOrder
     */
    public function setToBePrinted($toBePrinted = null)
    {
        // validation for constraint: boolean
        if (!is_null($toBePrinted) && !is_bool($toBePrinted)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($toBePrinted, true), gettype($toBePrinted)), __LINE__);
        }
        $this->toBePrinted = $toBePrinted;
        return $this;
    }
    /**
     * Get toBeEmailed value
     * @return bool|null
     */
    public function getToBeEmailed()
    {
        return $this->toBeEmailed;
    }
    /**
     * Set toBeEmailed value
     * @param bool $toBeEmailed
     * @return \StructType\SalesOrder
     */
    public function setToBeEmailed($toBeEmailed = null)
    {
        // validation for constraint: boolean
        if (!is_null($toBeEmailed) && !is_bool($toBeEmailed)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($toBeEmailed, true), gettype($toBeEmailed)), __LINE__);
        }
        $this->toBeEmailed = $toBeEmailed;
        return $this;
    }
    /**
     * Get email value
     * @return string|null
     */
    public function getEmail()
    {
        return $this->email;
    }
    /**
     * Set email value
     * @param string $email
     * @return \StructType\SalesOrder
     */
    public function setEmail($email = null)
    {
        // validation for constraint: string
        if (!is_null($email) && !is_string($email)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($email, true), gettype($email)), __LINE__);
        }
        $this->email = $email;
        return $this;
    }
    /**
     * Get toBeFaxed value
     * @return bool|null
     */
    public function getToBeFaxed()
    {
        return $this->toBeFaxed;
    }
    /**
     * Set toBeFaxed value
     * @param bool $toBeFaxed
     * @return \StructType\SalesOrder
     */
    public function setToBeFaxed($toBeFaxed = null)
    {
        // validation for constraint: boolean
        if (!is_null($toBeFaxed) && !is_bool($toBeFaxed)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($toBeFaxed, true), gettype($toBeFaxed)), __LINE__);
        }
        $this->toBeFaxed = $toBeFaxed;
        return $this;
    }
    /**
     * Get fax value
     * @return string|null
     */
    public function getFax()
    {
        return $this->fax;
    }
    /**
     * Set fax value
     * @param string $fax
     * @return \StructType\SalesOrder
     */
    public function setFax($fax = null)
    {
        // validation for constraint: string
        if (!is_null($fax) && !is_string($fax)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($fax, true), gettype($fax)), __LINE__);
        }
        $this->fax = $fax;
        return $this;
    }
    /**
     * Get messageSel value
     * @return \StructType\RecordRef|null
     */
    public function getMessageSel()
    {
        return $this->messageSel;
    }
    /**
     * Set messageSel value
     * @param \StructType\RecordRef $messageSel
     * @return \StructType\SalesOrder
     */
    public function setMessageSel(\StructType\RecordRef $messageSel = null)
    {
        $this->messageSel = $messageSel;
        return $this;
    }
    /**
     * Get message value
     * @return string|null
     */
    public function getMessage()
    {
        return $this->message;
    }
    /**
     * Set message value
     * @param string $message
     * @return \StructType\SalesOrder
     */
    public function setMessage($message = null)
    {
        // validation for constraint: string
        if (!is_null($message) && !is_string($message)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($message, true), gettype($message)), __LINE__);
        }
        $this->message = $message;
        return $this;
    }
    /**
     * Get paymentOption value
     * @return \StructType\RecordRef|null
     */
    public function getPaymentOption()
    {
        return $this->paymentOption;
    }
    /**
     * Set paymentOption value
     * @param \StructType\RecordRef $paymentOption
     * @return \StructType\SalesOrder
     */
    public function setPaymentOption(\StructType\RecordRef $paymentOption = null)
    {
        $this->paymentOption = $paymentOption;
        return $this;
    }
    /**
     * Get inputAuthCode value
     * @return string|null
     */
    public function getInputAuthCode()
    {
        return $this->inputAuthCode;
    }
    /**
     * Set inputAuthCode value
     * @param string $inputAuthCode
     * @return \StructType\SalesOrder
     */
    public function setInputAuthCode($inputAuthCode = null)
    {
        // validation for constraint: string
        if (!is_null($inputAuthCode) && !is_string($inputAuthCode)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($inputAuthCode, true), gettype($inputAuthCode)), __LINE__);
        }
        $this->inputAuthCode = $inputAuthCode;
        return $this;
    }
    /**
     * Get inputReferenceCode value
     * @return string|null
     */
    public function getInputReferenceCode()
    {
        return $this->inputReferenceCode;
    }
    /**
     * Set inputReferenceCode value
     * @param string $inputReferenceCode
     * @return \StructType\SalesOrder
     */
    public function setInputReferenceCode($inputReferenceCode = null)
    {
        // validation for constraint: string
        if (!is_null($inputReferenceCode) && !is_string($inputReferenceCode)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($inputReferenceCode, true), gettype($inputReferenceCode)), __LINE__);
        }
        $this->inputReferenceCode = $inputReferenceCode;
        return $this;
    }
    /**
     * Get checkNumber value
     * @return string|null
     */
    public function getCheckNumber()
    {
        return $this->checkNumber;
    }
    /**
     * Set checkNumber value
     * @param string $checkNumber
     * @return \StructType\SalesOrder
     */
    public function setCheckNumber($checkNumber = null)
    {
        // validation for constraint: string
        if (!is_null($checkNumber) && !is_string($checkNumber)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($checkNumber, true), gettype($checkNumber)), __LINE__);
        }
        $this->checkNumber = $checkNumber;
        return $this;
    }
    /**
     * Get paymentCardCsc value
     * @return string|null
     */
    public function getPaymentCardCsc()
    {
        return $this->paymentCardCsc;
    }
    /**
     * Set paymentCardCsc value
     * @param string $paymentCardCsc
     * @return \StructType\SalesOrder
     */
    public function setPaymentCardCsc($paymentCardCsc = null)
    {
        // validation for constraint: string
        if (!is_null($paymentCardCsc) && !is_string($paymentCardCsc)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($paymentCardCsc, true), gettype($paymentCardCsc)), __LINE__);
        }
        $this->paymentCardCsc = $paymentCardCsc;
        return $this;
    }
    /**
     * Get paymentProcessingProfile value
     * @return \StructType\RecordRef|null
     */
    public function getPaymentProcessingProfile()
    {
        return $this->paymentProcessingProfile;
    }
    /**
     * Set paymentProcessingProfile value
     * @param \StructType\RecordRef $paymentProcessingProfile
     * @return \StructType\SalesOrder
     */
    public function setPaymentProcessingProfile(\StructType\RecordRef $paymentProcessingProfile = null)
    {
        $this->paymentProcessingProfile = $paymentProcessingProfile;
        return $this;
    }
    /**
     * Get handlingMode value
     * @return string|null
     */
    public function getHandlingMode()
    {
        return $this->handlingMode;
    }
    /**
     * Set handlingMode value
     * @uses \EnumType\SalesOrderHandlingMode::valueIsValid()
     * @uses \EnumType\SalesOrderHandlingMode::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $handlingMode
     * @return \StructType\SalesOrder
     */
    public function setHandlingMode($handlingMode = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\SalesOrderHandlingMode::valueIsValid($handlingMode)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\SalesOrderHandlingMode', is_array($handlingMode) ? implode(', ', $handlingMode) : var_export($handlingMode, true), implode(', ', \EnumType\SalesOrderHandlingMode::getValidValues())), __LINE__);
        }
        $this->handlingMode = $handlingMode;
        return $this;
    }
    /**
     * Get outputAuthCode value
     * @return string|null
     */
    public function getOutputAuthCode()
    {
        return $this->outputAuthCode;
    }
    /**
     * Set outputAuthCode value
     * @param string $outputAuthCode
     * @return \StructType\SalesOrder
     */
    public function setOutputAuthCode($outputAuthCode = null)
    {
        // validation for constraint: string
        if (!is_null($outputAuthCode) && !is_string($outputAuthCode)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($outputAuthCode, true), gettype($outputAuthCode)), __LINE__);
        }
        $this->outputAuthCode = $outputAuthCode;
        return $this;
    }
    /**
     * Get outputReferenceCode value
     * @return string|null
     */
    public function getOutputReferenceCode()
    {
        return $this->outputReferenceCode;
    }
    /**
     * Set outputReferenceCode value
     * @param string $outputReferenceCode
     * @return \StructType\SalesOrder
     */
    public function setOutputReferenceCode($outputReferenceCode = null)
    {
        // validation for constraint: string
        if (!is_null($outputReferenceCode) && !is_string($outputReferenceCode)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($outputReferenceCode, true), gettype($outputReferenceCode)), __LINE__);
        }
        $this->outputReferenceCode = $outputReferenceCode;
        return $this;
    }
    /**
     * Get paymentOperation value
     * @return string|null
     */
    public function getPaymentOperation()
    {
        return $this->paymentOperation;
    }
    /**
     * Set paymentOperation value
     * @uses \EnumType\SalesOrderPaymentOperation::valueIsValid()
     * @uses \EnumType\SalesOrderPaymentOperation::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $paymentOperation
     * @return \StructType\SalesOrder
     */
    public function setPaymentOperation($paymentOperation = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\SalesOrderPaymentOperation::valueIsValid($paymentOperation)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\SalesOrderPaymentOperation', is_array($paymentOperation) ? implode(', ', $paymentOperation) : var_export($paymentOperation, true), implode(', ', \EnumType\SalesOrderPaymentOperation::getValidValues())), __LINE__);
        }
        $this->paymentOperation = $paymentOperation;
        return $this;
    }
    /**
     * Get dynamicDescriptor value
     * @return string|null
     */
    public function getDynamicDescriptor()
    {
        return $this->dynamicDescriptor;
    }
    /**
     * Set dynamicDescriptor value
     * @param string $dynamicDescriptor
     * @return \StructType\SalesOrder
     */
    public function setDynamicDescriptor($dynamicDescriptor = null)
    {
        // validation for constraint: string
        if (!is_null($dynamicDescriptor) && !is_string($dynamicDescriptor)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dynamicDescriptor, true), gettype($dynamicDescriptor)), __LINE__);
        }
        $this->dynamicDescriptor = $dynamicDescriptor;
        return $this;
    }
    /**
     * Get billingAddress value
     * @return \StructType\Address|null
     */
    public function getBillingAddress()
    {
        return $this->billingAddress;
    }
    /**
     * Set billingAddress value
     * @param \StructType\Address $billingAddress
     * @return \StructType\SalesOrder
     */
    public function setBillingAddress(\StructType\Address $billingAddress = null)
    {
        $this->billingAddress = $billingAddress;
        return $this;
    }
    /**
     * Get billAddressList value
     * @return \StructType\RecordRef|null
     */
    public function getBillAddressList()
    {
        return $this->billAddressList;
    }
    /**
     * Set billAddressList value
     * @param \StructType\RecordRef $billAddressList
     * @return \StructType\SalesOrder
     */
    public function setBillAddressList(\StructType\RecordRef $billAddressList = null)
    {
        $this->billAddressList = $billAddressList;
        return $this;
    }
    /**
     * Get shippingAddress value
     * @return \StructType\Address|null
     */
    public function getShippingAddress()
    {
        return $this->shippingAddress;
    }
    /**
     * Set shippingAddress value
     * @param \StructType\Address $shippingAddress
     * @return \StructType\SalesOrder
     */
    public function setShippingAddress(\StructType\Address $shippingAddress = null)
    {
        $this->shippingAddress = $shippingAddress;
        return $this;
    }
    /**
     * Get shipIsResidential value
     * @return bool|null
     */
    public function getShipIsResidential()
    {
        return $this->shipIsResidential;
    }
    /**
     * Set shipIsResidential value
     * @param bool $shipIsResidential
     * @return \StructType\SalesOrder
     */
    public function setShipIsResidential($shipIsResidential = null)
    {
        // validation for constraint: boolean
        if (!is_null($shipIsResidential) && !is_bool($shipIsResidential)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($shipIsResidential, true), gettype($shipIsResidential)), __LINE__);
        }
        $this->shipIsResidential = $shipIsResidential;
        return $this;
    }
    /**
     * Get shipAddressList value
     * @return \StructType\RecordRef|null
     */
    public function getShipAddressList()
    {
        return $this->shipAddressList;
    }
    /**
     * Set shipAddressList value
     * @param \StructType\RecordRef $shipAddressList
     * @return \StructType\SalesOrder
     */
    public function setShipAddressList(\StructType\RecordRef $shipAddressList = null)
    {
        $this->shipAddressList = $shipAddressList;
        return $this;
    }
    /**
     * Get fob value
     * @return string|null
     */
    public function getFob()
    {
        return $this->fob;
    }
    /**
     * Set fob value
     * @param string $fob
     * @return \StructType\SalesOrder
     */
    public function setFob($fob = null)
    {
        // validation for constraint: string
        if (!is_null($fob) && !is_string($fob)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($fob, true), gettype($fob)), __LINE__);
        }
        $this->fob = $fob;
        return $this;
    }
    /**
     * Get shipDate value
     * @return string|null
     */
    public function getShipDate()
    {
        return $this->shipDate;
    }
    /**
     * Set shipDate value
     * @param string $shipDate
     * @return \StructType\SalesOrder
     */
    public function setShipDate($shipDate = null)
    {
        // validation for constraint: string
        if (!is_null($shipDate) && !is_string($shipDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($shipDate, true), gettype($shipDate)), __LINE__);
        }
        $this->shipDate = $shipDate;
        return $this;
    }
    /**
     * Get actualShipDate value
     * @return string|null
     */
    public function getActualShipDate()
    {
        return $this->actualShipDate;
    }
    /**
     * Set actualShipDate value
     * @param string $actualShipDate
     * @return \StructType\SalesOrder
     */
    public function setActualShipDate($actualShipDate = null)
    {
        // validation for constraint: string
        if (!is_null($actualShipDate) && !is_string($actualShipDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($actualShipDate, true), gettype($actualShipDate)), __LINE__);
        }
        $this->actualShipDate = $actualShipDate;
        return $this;
    }
    /**
     * Get shipMethod value
     * @return \StructType\RecordRef|null
     */
    public function getShipMethod()
    {
        return $this->shipMethod;
    }
    /**
     * Set shipMethod value
     * @param \StructType\RecordRef $shipMethod
     * @return \StructType\SalesOrder
     */
    public function setShipMethod(\StructType\RecordRef $shipMethod = null)
    {
        $this->shipMethod = $shipMethod;
        return $this;
    }
    /**
     * Get shippingCost value
     * @return float|null
     */
    public function getShippingCost()
    {
        return $this->shippingCost;
    }
    /**
     * Set shippingCost value
     * @param float $shippingCost
     * @return \StructType\SalesOrder
     */
    public function setShippingCost($shippingCost = null)
    {
        // validation for constraint: float
        if (!is_null($shippingCost) && !(is_float($shippingCost) || is_numeric($shippingCost))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($shippingCost, true), gettype($shippingCost)), __LINE__);
        }
        $this->shippingCost = $shippingCost;
        return $this;
    }
    /**
     * Get shippingTax1Rate value
     * @return float|null
     */
    public function getShippingTax1Rate()
    {
        return $this->shippingTax1Rate;
    }
    /**
     * Set shippingTax1Rate value
     * @param float $shippingTax1Rate
     * @return \StructType\SalesOrder
     */
    public function setShippingTax1Rate($shippingTax1Rate = null)
    {
        // validation for constraint: float
        if (!is_null($shippingTax1Rate) && !(is_float($shippingTax1Rate) || is_numeric($shippingTax1Rate))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($shippingTax1Rate, true), gettype($shippingTax1Rate)), __LINE__);
        }
        $this->shippingTax1Rate = $shippingTax1Rate;
        return $this;
    }
    /**
     * Get isMultiShipTo value
     * @return bool|null
     */
    public function getIsMultiShipTo()
    {
        return $this->isMultiShipTo;
    }
    /**
     * Set isMultiShipTo value
     * @param bool $isMultiShipTo
     * @return \StructType\SalesOrder
     */
    public function setIsMultiShipTo($isMultiShipTo = null)
    {
        // validation for constraint: boolean
        if (!is_null($isMultiShipTo) && !is_bool($isMultiShipTo)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isMultiShipTo, true), gettype($isMultiShipTo)), __LINE__);
        }
        $this->isMultiShipTo = $isMultiShipTo;
        return $this;
    }
    /**
     * Get shippingTax2Rate value
     * @return string|null
     */
    public function getShippingTax2Rate()
    {
        return $this->shippingTax2Rate;
    }
    /**
     * Set shippingTax2Rate value
     * @param string $shippingTax2Rate
     * @return \StructType\SalesOrder
     */
    public function setShippingTax2Rate($shippingTax2Rate = null)
    {
        // validation for constraint: string
        if (!is_null($shippingTax2Rate) && !is_string($shippingTax2Rate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($shippingTax2Rate, true), gettype($shippingTax2Rate)), __LINE__);
        }
        $this->shippingTax2Rate = $shippingTax2Rate;
        return $this;
    }
    /**
     * Get shippingTaxCode value
     * @return \StructType\RecordRef|null
     */
    public function getShippingTaxCode()
    {
        return $this->shippingTaxCode;
    }
    /**
     * Set shippingTaxCode value
     * @param \StructType\RecordRef $shippingTaxCode
     * @return \StructType\SalesOrder
     */
    public function setShippingTaxCode(\StructType\RecordRef $shippingTaxCode = null)
    {
        $this->shippingTaxCode = $shippingTaxCode;
        return $this;
    }
    /**
     * Get handlingTaxCode value
     * @return \StructType\RecordRef|null
     */
    public function getHandlingTaxCode()
    {
        return $this->handlingTaxCode;
    }
    /**
     * Set handlingTaxCode value
     * @param \StructType\RecordRef $handlingTaxCode
     * @return \StructType\SalesOrder
     */
    public function setHandlingTaxCode(\StructType\RecordRef $handlingTaxCode = null)
    {
        $this->handlingTaxCode = $handlingTaxCode;
        return $this;
    }
    /**
     * Get handlingTax1Rate value
     * @return float|null
     */
    public function getHandlingTax1Rate()
    {
        return $this->handlingTax1Rate;
    }
    /**
     * Set handlingTax1Rate value
     * @param float $handlingTax1Rate
     * @return \StructType\SalesOrder
     */
    public function setHandlingTax1Rate($handlingTax1Rate = null)
    {
        // validation for constraint: float
        if (!is_null($handlingTax1Rate) && !(is_float($handlingTax1Rate) || is_numeric($handlingTax1Rate))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($handlingTax1Rate, true), gettype($handlingTax1Rate)), __LINE__);
        }
        $this->handlingTax1Rate = $handlingTax1Rate;
        return $this;
    }
    /**
     * Get handlingTax2Rate value
     * @return string|null
     */
    public function getHandlingTax2Rate()
    {
        return $this->handlingTax2Rate;
    }
    /**
     * Set handlingTax2Rate value
     * @param string $handlingTax2Rate
     * @return \StructType\SalesOrder
     */
    public function setHandlingTax2Rate($handlingTax2Rate = null)
    {
        // validation for constraint: string
        if (!is_null($handlingTax2Rate) && !is_string($handlingTax2Rate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($handlingTax2Rate, true), gettype($handlingTax2Rate)), __LINE__);
        }
        $this->handlingTax2Rate = $handlingTax2Rate;
        return $this;
    }
    /**
     * Get handlingCost value
     * @return float|null
     */
    public function getHandlingCost()
    {
        return $this->handlingCost;
    }
    /**
     * Set handlingCost value
     * @param float $handlingCost
     * @return \StructType\SalesOrder
     */
    public function setHandlingCost($handlingCost = null)
    {
        // validation for constraint: float
        if (!is_null($handlingCost) && !(is_float($handlingCost) || is_numeric($handlingCost))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($handlingCost, true), gettype($handlingCost)), __LINE__);
        }
        $this->handlingCost = $handlingCost;
        return $this;
    }
    /**
     * Get trackingNumbers value
     * @return string|null
     */
    public function getTrackingNumbers()
    {
        return $this->trackingNumbers;
    }
    /**
     * Set trackingNumbers value
     * @param string $trackingNumbers
     * @return \StructType\SalesOrder
     */
    public function setTrackingNumbers($trackingNumbers = null)
    {
        // validation for constraint: string
        if (!is_null($trackingNumbers) && !is_string($trackingNumbers)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($trackingNumbers, true), gettype($trackingNumbers)), __LINE__);
        }
        $this->trackingNumbers = $trackingNumbers;
        return $this;
    }
    /**
     * Get linkedTrackingNumbers value
     * @return string|null
     */
    public function getLinkedTrackingNumbers()
    {
        return $this->linkedTrackingNumbers;
    }
    /**
     * Set linkedTrackingNumbers value
     * @param string $linkedTrackingNumbers
     * @return \StructType\SalesOrder
     */
    public function setLinkedTrackingNumbers($linkedTrackingNumbers = null)
    {
        // validation for constraint: string
        if (!is_null($linkedTrackingNumbers) && !is_string($linkedTrackingNumbers)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($linkedTrackingNumbers, true), gettype($linkedTrackingNumbers)), __LINE__);
        }
        $this->linkedTrackingNumbers = $linkedTrackingNumbers;
        return $this;
    }
    /**
     * Get shipComplete value
     * @return bool|null
     */
    public function getShipComplete()
    {
        return $this->shipComplete;
    }
    /**
     * Set shipComplete value
     * @param bool $shipComplete
     * @return \StructType\SalesOrder
     */
    public function setShipComplete($shipComplete = null)
    {
        // validation for constraint: boolean
        if (!is_null($shipComplete) && !is_bool($shipComplete)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($shipComplete, true), gettype($shipComplete)), __LINE__);
        }
        $this->shipComplete = $shipComplete;
        return $this;
    }
    /**
     * Get paymentMethod value
     * @return \StructType\RecordRef|null
     */
    public function getPaymentMethod()
    {
        return $this->paymentMethod;
    }
    /**
     * Set paymentMethod value
     * @param \StructType\RecordRef $paymentMethod
     * @return \StructType\SalesOrder
     */
    public function setPaymentMethod(\StructType\RecordRef $paymentMethod = null)
    {
        $this->paymentMethod = $paymentMethod;
        return $this;
    }
    /**
     * Get shopperIpAddress value
     * @return string|null
     */
    public function getShopperIpAddress()
    {
        return $this->shopperIpAddress;
    }
    /**
     * Set shopperIpAddress value
     * @param string $shopperIpAddress
     * @return \StructType\SalesOrder
     */
    public function setShopperIpAddress($shopperIpAddress = null)
    {
        // validation for constraint: string
        if (!is_null($shopperIpAddress) && !is_string($shopperIpAddress)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($shopperIpAddress, true), gettype($shopperIpAddress)), __LINE__);
        }
        $this->shopperIpAddress = $shopperIpAddress;
        return $this;
    }
    /**
     * Get saveOnAuthDecline value
     * @return bool|null
     */
    public function getSaveOnAuthDecline()
    {
        return $this->saveOnAuthDecline;
    }
    /**
     * Set saveOnAuthDecline value
     * @param bool $saveOnAuthDecline
     * @return \StructType\SalesOrder
     */
    public function setSaveOnAuthDecline($saveOnAuthDecline = null)
    {
        // validation for constraint: boolean
        if (!is_null($saveOnAuthDecline) && !is_bool($saveOnAuthDecline)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($saveOnAuthDecline, true), gettype($saveOnAuthDecline)), __LINE__);
        }
        $this->saveOnAuthDecline = $saveOnAuthDecline;
        return $this;
    }
    /**
     * Get canHaveStackable value
     * @return bool|null
     */
    public function getCanHaveStackable()
    {
        return $this->canHaveStackable;
    }
    /**
     * Set canHaveStackable value
     * @param bool $canHaveStackable
     * @return \StructType\SalesOrder
     */
    public function setCanHaveStackable($canHaveStackable = null)
    {
        // validation for constraint: boolean
        if (!is_null($canHaveStackable) && !is_bool($canHaveStackable)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($canHaveStackable, true), gettype($canHaveStackable)), __LINE__);
        }
        $this->canHaveStackable = $canHaveStackable;
        return $this;
    }
    /**
     * Get creditCard value
     * @return \StructType\RecordRef|null
     */
    public function getCreditCard()
    {
        return $this->creditCard;
    }
    /**
     * Set creditCard value
     * @param \StructType\RecordRef $creditCard
     * @return \StructType\SalesOrder
     */
    public function setCreditCard(\StructType\RecordRef $creditCard = null)
    {
        $this->creditCard = $creditCard;
        return $this;
    }
    /**
     * Get revenueStatus value
     * @return string|null
     */
    public function getRevenueStatus()
    {
        return $this->revenueStatus;
    }
    /**
     * Set revenueStatus value
     * @uses \EnumType\RevenueStatus::valueIsValid()
     * @uses \EnumType\RevenueStatus::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $revenueStatus
     * @return \StructType\SalesOrder
     */
    public function setRevenueStatus($revenueStatus = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\RevenueStatus::valueIsValid($revenueStatus)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\RevenueStatus', is_array($revenueStatus) ? implode(', ', $revenueStatus) : var_export($revenueStatus, true), implode(', ', \EnumType\RevenueStatus::getValidValues())), __LINE__);
        }
        $this->revenueStatus = $revenueStatus;
        return $this;
    }
    /**
     * Get recognizedRevenue value
     * @return float|null
     */
    public function getRecognizedRevenue()
    {
        return $this->recognizedRevenue;
    }
    /**
     * Set recognizedRevenue value
     * @param float $recognizedRevenue
     * @return \StructType\SalesOrder
     */
    public function setRecognizedRevenue($recognizedRevenue = null)
    {
        // validation for constraint: float
        if (!is_null($recognizedRevenue) && !(is_float($recognizedRevenue) || is_numeric($recognizedRevenue))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($recognizedRevenue, true), gettype($recognizedRevenue)), __LINE__);
        }
        $this->recognizedRevenue = $recognizedRevenue;
        return $this;
    }
    /**
     * Get deferredRevenue value
     * @return float|null
     */
    public function getDeferredRevenue()
    {
        return $this->deferredRevenue;
    }
    /**
     * Set deferredRevenue value
     * @param float $deferredRevenue
     * @return \StructType\SalesOrder
     */
    public function setDeferredRevenue($deferredRevenue = null)
    {
        // validation for constraint: float
        if (!is_null($deferredRevenue) && !(is_float($deferredRevenue) || is_numeric($deferredRevenue))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($deferredRevenue, true), gettype($deferredRevenue)), __LINE__);
        }
        $this->deferredRevenue = $deferredRevenue;
        return $this;
    }
    /**
     * Get revRecOnRevCommitment value
     * @return bool|null
     */
    public function getRevRecOnRevCommitment()
    {
        return $this->revRecOnRevCommitment;
    }
    /**
     * Set revRecOnRevCommitment value
     * @param bool $revRecOnRevCommitment
     * @return \StructType\SalesOrder
     */
    public function setRevRecOnRevCommitment($revRecOnRevCommitment = null)
    {
        // validation for constraint: boolean
        if (!is_null($revRecOnRevCommitment) && !is_bool($revRecOnRevCommitment)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($revRecOnRevCommitment, true), gettype($revRecOnRevCommitment)), __LINE__);
        }
        $this->revRecOnRevCommitment = $revRecOnRevCommitment;
        return $this;
    }
    /**
     * Get revCommitStatus value
     * @return string|null
     */
    public function getRevCommitStatus()
    {
        return $this->revCommitStatus;
    }
    /**
     * Set revCommitStatus value
     * @uses \EnumType\RevenueCommitStatus::valueIsValid()
     * @uses \EnumType\RevenueCommitStatus::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $revCommitStatus
     * @return \StructType\SalesOrder
     */
    public function setRevCommitStatus($revCommitStatus = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\RevenueCommitStatus::valueIsValid($revCommitStatus)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\RevenueCommitStatus', is_array($revCommitStatus) ? implode(', ', $revCommitStatus) : var_export($revCommitStatus, true), implode(', ', \EnumType\RevenueCommitStatus::getValidValues())), __LINE__);
        }
        $this->revCommitStatus = $revCommitStatus;
        return $this;
    }
    /**
     * Get ccNumber value
     * @return string|null
     */
    public function getCcNumber()
    {
        return $this->ccNumber;
    }
    /**
     * Set ccNumber value
     * @param string $ccNumber
     * @return \StructType\SalesOrder
     */
    public function setCcNumber($ccNumber = null)
    {
        // validation for constraint: string
        if (!is_null($ccNumber) && !is_string($ccNumber)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ccNumber, true), gettype($ccNumber)), __LINE__);
        }
        $this->ccNumber = $ccNumber;
        return $this;
    }
    /**
     * Get ccExpireDate value
     * @return string|null
     */
    public function getCcExpireDate()
    {
        return $this->ccExpireDate;
    }
    /**
     * Set ccExpireDate value
     * @param string $ccExpireDate
     * @return \StructType\SalesOrder
     */
    public function setCcExpireDate($ccExpireDate = null)
    {
        // validation for constraint: string
        if (!is_null($ccExpireDate) && !is_string($ccExpireDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ccExpireDate, true), gettype($ccExpireDate)), __LINE__);
        }
        $this->ccExpireDate = $ccExpireDate;
        return $this;
    }
    /**
     * Get ccName value
     * @return string|null
     */
    public function getCcName()
    {
        return $this->ccName;
    }
    /**
     * Set ccName value
     * @param string $ccName
     * @return \StructType\SalesOrder
     */
    public function setCcName($ccName = null)
    {
        // validation for constraint: string
        if (!is_null($ccName) && !is_string($ccName)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ccName, true), gettype($ccName)), __LINE__);
        }
        $this->ccName = $ccName;
        return $this;
    }
    /**
     * Get ccStreet value
     * @return string|null
     */
    public function getCcStreet()
    {
        return $this->ccStreet;
    }
    /**
     * Set ccStreet value
     * @param string $ccStreet
     * @return \StructType\SalesOrder
     */
    public function setCcStreet($ccStreet = null)
    {
        // validation for constraint: string
        if (!is_null($ccStreet) && !is_string($ccStreet)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ccStreet, true), gettype($ccStreet)), __LINE__);
        }
        $this->ccStreet = $ccStreet;
        return $this;
    }
    /**
     * Get ccZipCode value
     * @return string|null
     */
    public function getCcZipCode()
    {
        return $this->ccZipCode;
    }
    /**
     * Set ccZipCode value
     * @param string $ccZipCode
     * @return \StructType\SalesOrder
     */
    public function setCcZipCode($ccZipCode = null)
    {
        // validation for constraint: string
        if (!is_null($ccZipCode) && !is_string($ccZipCode)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ccZipCode, true), gettype($ccZipCode)), __LINE__);
        }
        $this->ccZipCode = $ccZipCode;
        return $this;
    }
    /**
     * Get payPalStatus value
     * @return string|null
     */
    public function getPayPalStatus()
    {
        return $this->payPalStatus;
    }
    /**
     * Set payPalStatus value
     * @param string $payPalStatus
     * @return \StructType\SalesOrder
     */
    public function setPayPalStatus($payPalStatus = null)
    {
        // validation for constraint: string
        if (!is_null($payPalStatus) && !is_string($payPalStatus)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($payPalStatus, true), gettype($payPalStatus)), __LINE__);
        }
        $this->payPalStatus = $payPalStatus;
        return $this;
    }
    /**
     * Get creditCardProcessor value
     * @return \StructType\RecordRef|null
     */
    public function getCreditCardProcessor()
    {
        return $this->creditCardProcessor;
    }
    /**
     * Set creditCardProcessor value
     * @param \StructType\RecordRef $creditCardProcessor
     * @return \StructType\SalesOrder
     */
    public function setCreditCardProcessor(\StructType\RecordRef $creditCardProcessor = null)
    {
        $this->creditCardProcessor = $creditCardProcessor;
        return $this;
    }
    /**
     * Get payPalTranId value
     * @return string|null
     */
    public function getPayPalTranId()
    {
        return $this->payPalTranId;
    }
    /**
     * Set payPalTranId value
     * @param string $payPalTranId
     * @return \StructType\SalesOrder
     */
    public function setPayPalTranId($payPalTranId = null)
    {
        // validation for constraint: string
        if (!is_null($payPalTranId) && !is_string($payPalTranId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($payPalTranId, true), gettype($payPalTranId)), __LINE__);
        }
        $this->payPalTranId = $payPalTranId;
        return $this;
    }
    /**
     * Get ccApproved value
     * @return bool|null
     */
    public function getCcApproved()
    {
        return $this->ccApproved;
    }
    /**
     * Set ccApproved value
     * @param bool $ccApproved
     * @return \StructType\SalesOrder
     */
    public function setCcApproved($ccApproved = null)
    {
        // validation for constraint: boolean
        if (!is_null($ccApproved) && !is_bool($ccApproved)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($ccApproved, true), gettype($ccApproved)), __LINE__);
        }
        $this->ccApproved = $ccApproved;
        return $this;
    }
    /**
     * Get getAuth value
     * @return bool|null
     */
    public function getGetAuth()
    {
        return $this->getAuth;
    }
    /**
     * Set getAuth value
     * @param bool $getAuth
     * @return \StructType\SalesOrder
     */
    public function setGetAuth($getAuth = null)
    {
        // validation for constraint: boolean
        if (!is_null($getAuth) && !is_bool($getAuth)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($getAuth, true), gettype($getAuth)), __LINE__);
        }
        $this->getAuth = $getAuth;
        return $this;
    }
    /**
     * Get authCode value
     * @return string|null
     */
    public function getAuthCode()
    {
        return $this->authCode;
    }
    /**
     * Set authCode value
     * @param string $authCode
     * @return \StructType\SalesOrder
     */
    public function setAuthCode($authCode = null)
    {
        // validation for constraint: string
        if (!is_null($authCode) && !is_string($authCode)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($authCode, true), gettype($authCode)), __LINE__);
        }
        $this->authCode = $authCode;
        return $this;
    }
    /**
     * Get ccAvsStreetMatch value
     * @return string|null
     */
    public function getCcAvsStreetMatch()
    {
        return $this->ccAvsStreetMatch;
    }
    /**
     * Set ccAvsStreetMatch value
     * @uses \EnumType\AvsMatchCode::valueIsValid()
     * @uses \EnumType\AvsMatchCode::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $ccAvsStreetMatch
     * @return \StructType\SalesOrder
     */
    public function setCcAvsStreetMatch($ccAvsStreetMatch = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\AvsMatchCode::valueIsValid($ccAvsStreetMatch)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\AvsMatchCode', is_array($ccAvsStreetMatch) ? implode(', ', $ccAvsStreetMatch) : var_export($ccAvsStreetMatch, true), implode(', ', \EnumType\AvsMatchCode::getValidValues())), __LINE__);
        }
        $this->ccAvsStreetMatch = $ccAvsStreetMatch;
        return $this;
    }
    /**
     * Get ccAvsZipMatch value
     * @return string|null
     */
    public function getCcAvsZipMatch()
    {
        return $this->ccAvsZipMatch;
    }
    /**
     * Set ccAvsZipMatch value
     * @uses \EnumType\AvsMatchCode::valueIsValid()
     * @uses \EnumType\AvsMatchCode::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $ccAvsZipMatch
     * @return \StructType\SalesOrder
     */
    public function setCcAvsZipMatch($ccAvsZipMatch = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\AvsMatchCode::valueIsValid($ccAvsZipMatch)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\AvsMatchCode', is_array($ccAvsZipMatch) ? implode(', ', $ccAvsZipMatch) : var_export($ccAvsZipMatch, true), implode(', ', \EnumType\AvsMatchCode::getValidValues())), __LINE__);
        }
        $this->ccAvsZipMatch = $ccAvsZipMatch;
        return $this;
    }
    /**
     * Get isRecurringPayment value
     * @return bool|null
     */
    public function getIsRecurringPayment()
    {
        return $this->isRecurringPayment;
    }
    /**
     * Set isRecurringPayment value
     * @param bool $isRecurringPayment
     * @return \StructType\SalesOrder
     */
    public function setIsRecurringPayment($isRecurringPayment = null)
    {
        // validation for constraint: boolean
        if (!is_null($isRecurringPayment) && !is_bool($isRecurringPayment)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isRecurringPayment, true), gettype($isRecurringPayment)), __LINE__);
        }
        $this->isRecurringPayment = $isRecurringPayment;
        return $this;
    }
    /**
     * Get ccSecurityCodeMatch value
     * @return string|null
     */
    public function getCcSecurityCodeMatch()
    {
        return $this->ccSecurityCodeMatch;
    }
    /**
     * Set ccSecurityCodeMatch value
     * @uses \EnumType\AvsMatchCode::valueIsValid()
     * @uses \EnumType\AvsMatchCode::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $ccSecurityCodeMatch
     * @return \StructType\SalesOrder
     */
    public function setCcSecurityCodeMatch($ccSecurityCodeMatch = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\AvsMatchCode::valueIsValid($ccSecurityCodeMatch)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\AvsMatchCode', is_array($ccSecurityCodeMatch) ? implode(', ', $ccSecurityCodeMatch) : var_export($ccSecurityCodeMatch, true), implode(', ', \EnumType\AvsMatchCode::getValidValues())), __LINE__);
        }
        $this->ccSecurityCodeMatch = $ccSecurityCodeMatch;
        return $this;
    }
    /**
     * Get altSalesTotal value
     * @return float|null
     */
    public function getAltSalesTotal()
    {
        return $this->altSalesTotal;
    }
    /**
     * Set altSalesTotal value
     * @param float $altSalesTotal
     * @return \StructType\SalesOrder
     */
    public function setAltSalesTotal($altSalesTotal = null)
    {
        // validation for constraint: float
        if (!is_null($altSalesTotal) && !(is_float($altSalesTotal) || is_numeric($altSalesTotal))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($altSalesTotal, true), gettype($altSalesTotal)), __LINE__);
        }
        $this->altSalesTotal = $altSalesTotal;
        return $this;
    }
    /**
     * Get ignoreAvs value
     * @return bool|null
     */
    public function getIgnoreAvs()
    {
        return $this->ignoreAvs;
    }
    /**
     * Set ignoreAvs value
     * @param bool $ignoreAvs
     * @return \StructType\SalesOrder
     */
    public function setIgnoreAvs($ignoreAvs = null)
    {
        // validation for constraint: boolean
        if (!is_null($ignoreAvs) && !is_bool($ignoreAvs)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($ignoreAvs, true), gettype($ignoreAvs)), __LINE__);
        }
        $this->ignoreAvs = $ignoreAvs;
        return $this;
    }
    /**
     * Get paymentEventResult value
     * @return string|null
     */
    public function getPaymentEventResult()
    {
        return $this->paymentEventResult;
    }
    /**
     * Set paymentEventResult value
     * @uses \EnumType\TransactionPaymentEventResult::valueIsValid()
     * @uses \EnumType\TransactionPaymentEventResult::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $paymentEventResult
     * @return \StructType\SalesOrder
     */
    public function setPaymentEventResult($paymentEventResult = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\TransactionPaymentEventResult::valueIsValid($paymentEventResult)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\TransactionPaymentEventResult', is_array($paymentEventResult) ? implode(', ', $paymentEventResult) : var_export($paymentEventResult, true), implode(', ', \EnumType\TransactionPaymentEventResult::getValidValues())), __LINE__);
        }
        $this->paymentEventResult = $paymentEventResult;
        return $this;
    }
    /**
     * Get paymentEventHoldReason value
     * @return string|null
     */
    public function getPaymentEventHoldReason()
    {
        return $this->paymentEventHoldReason;
    }
    /**
     * Set paymentEventHoldReason value
     * @uses \EnumType\TransactionPaymentEventHoldReason::valueIsValid()
     * @uses \EnumType\TransactionPaymentEventHoldReason::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $paymentEventHoldReason
     * @return \StructType\SalesOrder
     */
    public function setPaymentEventHoldReason($paymentEventHoldReason = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\TransactionPaymentEventHoldReason::valueIsValid($paymentEventHoldReason)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\TransactionPaymentEventHoldReason', is_array($paymentEventHoldReason) ? implode(', ', $paymentEventHoldReason) : var_export($paymentEventHoldReason, true), implode(', ', \EnumType\TransactionPaymentEventHoldReason::getValidValues())), __LINE__);
        }
        $this->paymentEventHoldReason = $paymentEventHoldReason;
        return $this;
    }
    /**
     * Get paymentEventType value
     * @return string|null
     */
    public function getPaymentEventType()
    {
        return $this->paymentEventType;
    }
    /**
     * Set paymentEventType value
     * @uses \EnumType\TransactionPaymentEventType::valueIsValid()
     * @uses \EnumType\TransactionPaymentEventType::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $paymentEventType
     * @return \StructType\SalesOrder
     */
    public function setPaymentEventType($paymentEventType = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\TransactionPaymentEventType::valueIsValid($paymentEventType)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\TransactionPaymentEventType', is_array($paymentEventType) ? implode(', ', $paymentEventType) : var_export($paymentEventType, true), implode(', ', \EnumType\TransactionPaymentEventType::getValidValues())), __LINE__);
        }
        $this->paymentEventType = $paymentEventType;
        return $this;
    }
    /**
     * Get paymentEventDate value
     * @return string|null
     */
    public function getPaymentEventDate()
    {
        return $this->paymentEventDate;
    }
    /**
     * Set paymentEventDate value
     * @param string $paymentEventDate
     * @return \StructType\SalesOrder
     */
    public function setPaymentEventDate($paymentEventDate = null)
    {
        // validation for constraint: string
        if (!is_null($paymentEventDate) && !is_string($paymentEventDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($paymentEventDate, true), gettype($paymentEventDate)), __LINE__);
        }
        $this->paymentEventDate = $paymentEventDate;
        return $this;
    }
    /**
     * Get paymentEventUpdatedBy value
     * @return string|null
     */
    public function getPaymentEventUpdatedBy()
    {
        return $this->paymentEventUpdatedBy;
    }
    /**
     * Set paymentEventUpdatedBy value
     * @param string $paymentEventUpdatedBy
     * @return \StructType\SalesOrder
     */
    public function setPaymentEventUpdatedBy($paymentEventUpdatedBy = null)
    {
        // validation for constraint: string
        if (!is_null($paymentEventUpdatedBy) && !is_string($paymentEventUpdatedBy)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($paymentEventUpdatedBy, true), gettype($paymentEventUpdatedBy)), __LINE__);
        }
        $this->paymentEventUpdatedBy = $paymentEventUpdatedBy;
        return $this;
    }
    /**
     * Get subTotal value
     * @return float|null
     */
    public function getSubTotal()
    {
        return $this->subTotal;
    }
    /**
     * Set subTotal value
     * @param float $subTotal
     * @return \StructType\SalesOrder
     */
    public function setSubTotal($subTotal = null)
    {
        // validation for constraint: float
        if (!is_null($subTotal) && !(is_float($subTotal) || is_numeric($subTotal))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($subTotal, true), gettype($subTotal)), __LINE__);
        }
        $this->subTotal = $subTotal;
        return $this;
    }
    /**
     * Get discountTotal value
     * @return float|null
     */
    public function getDiscountTotal()
    {
        return $this->discountTotal;
    }
    /**
     * Set discountTotal value
     * @param float $discountTotal
     * @return \StructType\SalesOrder
     */
    public function setDiscountTotal($discountTotal = null)
    {
        // validation for constraint: float
        if (!is_null($discountTotal) && !(is_float($discountTotal) || is_numeric($discountTotal))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($discountTotal, true), gettype($discountTotal)), __LINE__);
        }
        $this->discountTotal = $discountTotal;
        return $this;
    }
    /**
     * Get taxTotal value
     * @return float|null
     */
    public function getTaxTotal()
    {
        return $this->taxTotal;
    }
    /**
     * Set taxTotal value
     * @param float $taxTotal
     * @return \StructType\SalesOrder
     */
    public function setTaxTotal($taxTotal = null)
    {
        // validation for constraint: float
        if (!is_null($taxTotal) && !(is_float($taxTotal) || is_numeric($taxTotal))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($taxTotal, true), gettype($taxTotal)), __LINE__);
        }
        $this->taxTotal = $taxTotal;
        return $this;
    }
    /**
     * Get altShippingCost value
     * @return float|null
     */
    public function getAltShippingCost()
    {
        return $this->altShippingCost;
    }
    /**
     * Set altShippingCost value
     * @param float $altShippingCost
     * @return \StructType\SalesOrder
     */
    public function setAltShippingCost($altShippingCost = null)
    {
        // validation for constraint: float
        if (!is_null($altShippingCost) && !(is_float($altShippingCost) || is_numeric($altShippingCost))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($altShippingCost, true), gettype($altShippingCost)), __LINE__);
        }
        $this->altShippingCost = $altShippingCost;
        return $this;
    }
    /**
     * Get altHandlingCost value
     * @return float|null
     */
    public function getAltHandlingCost()
    {
        return $this->altHandlingCost;
    }
    /**
     * Set altHandlingCost value
     * @param float $altHandlingCost
     * @return \StructType\SalesOrder
     */
    public function setAltHandlingCost($altHandlingCost = null)
    {
        // validation for constraint: float
        if (!is_null($altHandlingCost) && !(is_float($altHandlingCost) || is_numeric($altHandlingCost))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($altHandlingCost, true), gettype($altHandlingCost)), __LINE__);
        }
        $this->altHandlingCost = $altHandlingCost;
        return $this;
    }
    /**
     * Get total value
     * @return float|null
     */
    public function getTotal()
    {
        return $this->total;
    }
    /**
     * Set total value
     * @param float $total
     * @return \StructType\SalesOrder
     */
    public function setTotal($total = null)
    {
        // validation for constraint: float
        if (!is_null($total) && !(is_float($total) || is_numeric($total))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($total, true), gettype($total)), __LINE__);
        }
        $this->total = $total;
        return $this;
    }
    /**
     * Get revRecSchedule value
     * @return \StructType\RecordRef|null
     */
    public function getRevRecSchedule()
    {
        return $this->revRecSchedule;
    }
    /**
     * Set revRecSchedule value
     * @param \StructType\RecordRef $revRecSchedule
     * @return \StructType\SalesOrder
     */
    public function setRevRecSchedule(\StructType\RecordRef $revRecSchedule = null)
    {
        $this->revRecSchedule = $revRecSchedule;
        return $this;
    }
    /**
     * Get revRecStartDate value
     * @return string|null
     */
    public function getRevRecStartDate()
    {
        return $this->revRecStartDate;
    }
    /**
     * Set revRecStartDate value
     * @param string $revRecStartDate
     * @return \StructType\SalesOrder
     */
    public function setRevRecStartDate($revRecStartDate = null)
    {
        // validation for constraint: string
        if (!is_null($revRecStartDate) && !is_string($revRecStartDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($revRecStartDate, true), gettype($revRecStartDate)), __LINE__);
        }
        $this->revRecStartDate = $revRecStartDate;
        return $this;
    }
    /**
     * Get revRecEndDate value
     * @return string|null
     */
    public function getRevRecEndDate()
    {
        return $this->revRecEndDate;
    }
    /**
     * Set revRecEndDate value
     * @param string $revRecEndDate
     * @return \StructType\SalesOrder
     */
    public function setRevRecEndDate($revRecEndDate = null)
    {
        // validation for constraint: string
        if (!is_null($revRecEndDate) && !is_string($revRecEndDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($revRecEndDate, true), gettype($revRecEndDate)), __LINE__);
        }
        $this->revRecEndDate = $revRecEndDate;
        return $this;
    }
    /**
     * Get paypalAuthId value
     * @return string|null
     */
    public function getPaypalAuthId()
    {
        return $this->paypalAuthId;
    }
    /**
     * Set paypalAuthId value
     * @param string $paypalAuthId
     * @return \StructType\SalesOrder
     */
    public function setPaypalAuthId($paypalAuthId = null)
    {
        // validation for constraint: string
        if (!is_null($paypalAuthId) && !is_string($paypalAuthId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($paypalAuthId, true), gettype($paypalAuthId)), __LINE__);
        }
        $this->paypalAuthId = $paypalAuthId;
        return $this;
    }
    /**
     * Get balance value
     * @return float|null
     */
    public function getBalance()
    {
        return $this->balance;
    }
    /**
     * Set balance value
     * @param float $balance
     * @return \StructType\SalesOrder
     */
    public function setBalance($balance = null)
    {
        // validation for constraint: float
        if (!is_null($balance) && !(is_float($balance) || is_numeric($balance))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($balance, true), gettype($balance)), __LINE__);
        }
        $this->balance = $balance;
        return $this;
    }
    /**
     * Get paypalProcess value
     * @return bool|null
     */
    public function getPaypalProcess()
    {
        return $this->paypalProcess;
    }
    /**
     * Set paypalProcess value
     * @param bool $paypalProcess
     * @return \StructType\SalesOrder
     */
    public function setPaypalProcess($paypalProcess = null)
    {
        // validation for constraint: boolean
        if (!is_null($paypalProcess) && !is_bool($paypalProcess)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($paypalProcess, true), gettype($paypalProcess)), __LINE__);
        }
        $this->paypalProcess = $paypalProcess;
        return $this;
    }
    /**
     * Get billingSchedule value
     * @return \StructType\RecordRef|null
     */
    public function getBillingSchedule()
    {
        return $this->billingSchedule;
    }
    /**
     * Set billingSchedule value
     * @param \StructType\RecordRef $billingSchedule
     * @return \StructType\SalesOrder
     */
    public function setBillingSchedule(\StructType\RecordRef $billingSchedule = null)
    {
        $this->billingSchedule = $billingSchedule;
        return $this;
    }
    /**
     * Get ccSecurityCode value
     * @return string|null
     */
    public function getCcSecurityCode()
    {
        return $this->ccSecurityCode;
    }
    /**
     * Set ccSecurityCode value
     * @param string $ccSecurityCode
     * @return \StructType\SalesOrder
     */
    public function setCcSecurityCode($ccSecurityCode = null)
    {
        // validation for constraint: string
        if (!is_null($ccSecurityCode) && !is_string($ccSecurityCode)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ccSecurityCode, true), gettype($ccSecurityCode)), __LINE__);
        }
        $this->ccSecurityCode = $ccSecurityCode;
        return $this;
    }
    /**
     * Get threeDStatusCode value
     * @return string|null
     */
    public function getThreeDStatusCode()
    {
        return $this->threeDStatusCode;
    }
    /**
     * Set threeDStatusCode value
     * @param string $threeDStatusCode
     * @return \StructType\SalesOrder
     */
    public function setThreeDStatusCode($threeDStatusCode = null)
    {
        // validation for constraint: string
        if (!is_null($threeDStatusCode) && !is_string($threeDStatusCode)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($threeDStatusCode, true), gettype($threeDStatusCode)), __LINE__);
        }
        $this->threeDStatusCode = $threeDStatusCode;
        return $this;
    }
    /**
     * Get class value
     * @return \StructType\RecordRef|null
     */
    public function getClass()
    {
        return $this->class;
    }
    /**
     * Set class value
     * @param \StructType\RecordRef $class
     * @return \StructType\SalesOrder
     */
    public function setClass(\StructType\RecordRef $class = null)
    {
        $this->class = $class;
        return $this;
    }
    /**
     * Get department value
     * @return \StructType\RecordRef|null
     */
    public function getDepartment()
    {
        return $this->department;
    }
    /**
     * Set department value
     * @param \StructType\RecordRef $department
     * @return \StructType\SalesOrder
     */
    public function setDepartment(\StructType\RecordRef $department = null)
    {
        $this->department = $department;
        return $this;
    }
    /**
     * Get subsidiary value
     * @return \StructType\RecordRef|null
     */
    public function getSubsidiary()
    {
        return $this->subsidiary;
    }
    /**
     * Set subsidiary value
     * @param \StructType\RecordRef $subsidiary
     * @return \StructType\SalesOrder
     */
    public function setSubsidiary(\StructType\RecordRef $subsidiary = null)
    {
        $this->subsidiary = $subsidiary;
        return $this;
    }
    /**
     * Get intercoTransaction value
     * @return \StructType\RecordRef|null
     */
    public function getIntercoTransaction()
    {
        return $this->intercoTransaction;
    }
    /**
     * Set intercoTransaction value
     * @param \StructType\RecordRef $intercoTransaction
     * @return \StructType\SalesOrder
     */
    public function setIntercoTransaction(\StructType\RecordRef $intercoTransaction = null)
    {
        $this->intercoTransaction = $intercoTransaction;
        return $this;
    }
    /**
     * Get intercoStatus value
     * @return string|null
     */
    public function getIntercoStatus()
    {
        return $this->intercoStatus;
    }
    /**
     * Set intercoStatus value
     * @uses \EnumType\IntercoStatus::valueIsValid()
     * @uses \EnumType\IntercoStatus::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $intercoStatus
     * @return \StructType\SalesOrder
     */
    public function setIntercoStatus($intercoStatus = null)
    {
        // validation for constraint: enumeration
        if (!\EnumType\IntercoStatus::valueIsValid($intercoStatus)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \EnumType\IntercoStatus', is_array($intercoStatus) ? implode(', ', $intercoStatus) : var_export($intercoStatus, true), implode(', ', \EnumType\IntercoStatus::getValidValues())), __LINE__);
        }
        $this->intercoStatus = $intercoStatus;
        return $this;
    }
    /**
     * Get debitCardIssueNo value
     * @return string|null
     */
    public function getDebitCardIssueNo()
    {
        return $this->debitCardIssueNo;
    }
    /**
     * Set debitCardIssueNo value
     * @param string $debitCardIssueNo
     * @return \StructType\SalesOrder
     */
    public function setDebitCardIssueNo($debitCardIssueNo = null)
    {
        // validation for constraint: string
        if (!is_null($debitCardIssueNo) && !is_string($debitCardIssueNo)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($debitCardIssueNo, true), gettype($debitCardIssueNo)), __LINE__);
        }
        $this->debitCardIssueNo = $debitCardIssueNo;
        return $this;
    }
    /**
     * Get lastModifiedDate value
     * @return string|null
     */
    public function getLastModifiedDate()
    {
        return $this->lastModifiedDate;
    }
    /**
     * Set lastModifiedDate value
     * @param string $lastModifiedDate
     * @return \StructType\SalesOrder
     */
    public function setLastModifiedDate($lastModifiedDate = null)
    {
        // validation for constraint: string
        if (!is_null($lastModifiedDate) && !is_string($lastModifiedDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($lastModifiedDate, true), gettype($lastModifiedDate)), __LINE__);
        }
        $this->lastModifiedDate = $lastModifiedDate;
        return $this;
    }
    /**
     * Get nexus value
     * @return \StructType\RecordRef|null
     */
    public function getNexus()
    {
        return $this->nexus;
    }
    /**
     * Set nexus value
     * @param \StructType\RecordRef $nexus
     * @return \StructType\SalesOrder
     */
    public function setNexus(\StructType\RecordRef $nexus = null)
    {
        $this->nexus = $nexus;
        return $this;
    }
    /**
     * Get subsidiaryTaxRegNum value
     * @return \StructType\RecordRef|null
     */
    public function getSubsidiaryTaxRegNum()
    {
        return $this->subsidiaryTaxRegNum;
    }
    /**
     * Set subsidiaryTaxRegNum value
     * @param \StructType\RecordRef $subsidiaryTaxRegNum
     * @return \StructType\SalesOrder
     */
    public function setSubsidiaryTaxRegNum(\StructType\RecordRef $subsidiaryTaxRegNum = null)
    {
        $this->subsidiaryTaxRegNum = $subsidiaryTaxRegNum;
        return $this;
    }
    /**
     * Get taxRegOverride value
     * @return bool|null
     */
    public function getTaxRegOverride()
    {
        return $this->taxRegOverride;
    }
    /**
     * Set taxRegOverride value
     * @param bool $taxRegOverride
     * @return \StructType\SalesOrder
     */
    public function setTaxRegOverride($taxRegOverride = null)
    {
        // validation for constraint: boolean
        if (!is_null($taxRegOverride) && !is_bool($taxRegOverride)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($taxRegOverride, true), gettype($taxRegOverride)), __LINE__);
        }
        $this->taxRegOverride = $taxRegOverride;
        return $this;
    }
    /**
     * Get taxPointDate value
     * @return string|null
     */
    public function getTaxPointDate()
    {
        return $this->taxPointDate;
    }
    /**
     * Set taxPointDate value
     * @param string $taxPointDate
     * @return \StructType\SalesOrder
     */
    public function setTaxPointDate($taxPointDate = null)
    {
        // validation for constraint: string
        if (!is_null($taxPointDate) && !is_string($taxPointDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($taxPointDate, true), gettype($taxPointDate)), __LINE__);
        }
        $this->taxPointDate = $taxPointDate;
        return $this;
    }
    /**
     * Get taxDetailsOverride value
     * @return bool|null
     */
    public function getTaxDetailsOverride()
    {
        return $this->taxDetailsOverride;
    }
    /**
     * Set taxDetailsOverride value
     * @param bool $taxDetailsOverride
     * @return \StructType\SalesOrder
     */
    public function setTaxDetailsOverride($taxDetailsOverride = null)
    {
        // validation for constraint: boolean
        if (!is_null($taxDetailsOverride) && !is_bool($taxDetailsOverride)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($taxDetailsOverride, true), gettype($taxDetailsOverride)), __LINE__);
        }
        $this->taxDetailsOverride = $taxDetailsOverride;
        return $this;
    }
    /**
     * Get location value
     * @return \StructType\RecordRef|null
     */
    public function getLocation()
    {
        return $this->location;
    }
    /**
     * Set location value
     * @param \StructType\RecordRef $location
     * @return \StructType\SalesOrder
     */
    public function setLocation(\StructType\RecordRef $location = null)
    {
        $this->location = $location;
        return $this;
    }
    /**
     * Get pnRefNum value
     * @return string|null
     */
    public function getPnRefNum()
    {
        return $this->pnRefNum;
    }
    /**
     * Set pnRefNum value
     * @param string $pnRefNum
     * @return \StructType\SalesOrder
     */
    public function setPnRefNum($pnRefNum = null)
    {
        // validation for constraint: string
        if (!is_null($pnRefNum) && !is_string($pnRefNum)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($pnRefNum, true), gettype($pnRefNum)), __LINE__);
        }
        $this->pnRefNum = $pnRefNum;
        return $this;
    }
    /**
     * Get status value
     * @return string|null
     */
    public function getStatus()
    {
        return $this->status;
    }
    /**
     * Set status value
     * @param string $status
     * @return \StructType\SalesOrder
     */
    public function setStatus($status = null)
    {
        // validation for constraint: string
        if (!is_null($status) && !is_string($status)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($status, true), gettype($status)), __LINE__);
        }
        $this->status = $status;
        return $this;
    }
    /**
     * Get tax2Total value
     * @return float|null
     */
    public function getTax2Total()
    {
        return $this->tax2Total;
    }
    /**
     * Set tax2Total value
     * @param float $tax2Total
     * @return \StructType\SalesOrder
     */
    public function setTax2Total($tax2Total = null)
    {
        // validation for constraint: float
        if (!is_null($tax2Total) && !(is_float($tax2Total) || is_numeric($tax2Total))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($tax2Total, true), gettype($tax2Total)), __LINE__);
        }
        $this->tax2Total = $tax2Total;
        return $this;
    }
    /**
     * Get terms value
     * @return \StructType\RecordRef|null
     */
    public function getTerms()
    {
        return $this->terms;
    }
    /**
     * Set terms value
     * @param \StructType\RecordRef $terms
     * @return \StructType\SalesOrder
     */
    public function setTerms(\StructType\RecordRef $terms = null)
    {
        $this->terms = $terms;
        return $this;
    }
    /**
     * Get validFrom value
     * @return string|null
     */
    public function getValidFrom()
    {
        return $this->validFrom;
    }
    /**
     * Set validFrom value
     * @param string $validFrom
     * @return \StructType\SalesOrder
     */
    public function setValidFrom($validFrom = null)
    {
        // validation for constraint: string
        if (!is_null($validFrom) && !is_string($validFrom)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($validFrom, true), gettype($validFrom)), __LINE__);
        }
        $this->validFrom = $validFrom;
        return $this;
    }
    /**
     * Get vatRegNum value
     * @return string|null
     */
    public function getVatRegNum()
    {
        return $this->vatRegNum;
    }
    /**
     * Set vatRegNum value
     * @param string $vatRegNum
     * @return \StructType\SalesOrder
     */
    public function setVatRegNum($vatRegNum = null)
    {
        // validation for constraint: string
        if (!is_null($vatRegNum) && !is_string($vatRegNum)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($vatRegNum, true), gettype($vatRegNum)), __LINE__);
        }
        $this->vatRegNum = $vatRegNum;
        return $this;
    }
    /**
     * Get giftCertApplied value
     * @return float|null
     */
    public function getGiftCertApplied()
    {
        return $this->giftCertApplied;
    }
    /**
     * Set giftCertApplied value
     * @param float $giftCertApplied
     * @return \StructType\SalesOrder
     */
    public function setGiftCertApplied($giftCertApplied = null)
    {
        // validation for constraint: float
        if (!is_null($giftCertApplied) && !(is_float($giftCertApplied) || is_numeric($giftCertApplied))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($giftCertApplied, true), gettype($giftCertApplied)), __LINE__);
        }
        $this->giftCertApplied = $giftCertApplied;
        return $this;
    }
    /**
     * Get oneTime value
     * @return float|null
     */
    public function getOneTime()
    {
        return $this->oneTime;
    }
    /**
     * Set oneTime value
     * @param float $oneTime
     * @return \StructType\SalesOrder
     */
    public function setOneTime($oneTime = null)
    {
        // validation for constraint: float
        if (!is_null($oneTime) && !(is_float($oneTime) || is_numeric($oneTime))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($oneTime, true), gettype($oneTime)), __LINE__);
        }
        $this->oneTime = $oneTime;
        return $this;
    }
    /**
     * Get recurWeekly value
     * @return float|null
     */
    public function getRecurWeekly()
    {
        return $this->recurWeekly;
    }
    /**
     * Set recurWeekly value
     * @param float $recurWeekly
     * @return \StructType\SalesOrder
     */
    public function setRecurWeekly($recurWeekly = null)
    {
        // validation for constraint: float
        if (!is_null($recurWeekly) && !(is_float($recurWeekly) || is_numeric($recurWeekly))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($recurWeekly, true), gettype($recurWeekly)), __LINE__);
        }
        $this->recurWeekly = $recurWeekly;
        return $this;
    }
    /**
     * Get recurMonthly value
     * @return float|null
     */
    public function getRecurMonthly()
    {
        return $this->recurMonthly;
    }
    /**
     * Set recurMonthly value
     * @param float $recurMonthly
     * @return \StructType\SalesOrder
     */
    public function setRecurMonthly($recurMonthly = null)
    {
        // validation for constraint: float
        if (!is_null($recurMonthly) && !(is_float($recurMonthly) || is_numeric($recurMonthly))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($recurMonthly, true), gettype($recurMonthly)), __LINE__);
        }
        $this->recurMonthly = $recurMonthly;
        return $this;
    }
    /**
     * Get recurQuarterly value
     * @return float|null
     */
    public function getRecurQuarterly()
    {
        return $this->recurQuarterly;
    }
    /**
     * Set recurQuarterly value
     * @param float $recurQuarterly
     * @return \StructType\SalesOrder
     */
    public function setRecurQuarterly($recurQuarterly = null)
    {
        // validation for constraint: float
        if (!is_null($recurQuarterly) && !(is_float($recurQuarterly) || is_numeric($recurQuarterly))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($recurQuarterly, true), gettype($recurQuarterly)), __LINE__);
        }
        $this->recurQuarterly = $recurQuarterly;
        return $this;
    }
    /**
     * Get recurAnnually value
     * @return float|null
     */
    public function getRecurAnnually()
    {
        return $this->recurAnnually;
    }
    /**
     * Set recurAnnually value
     * @param float $recurAnnually
     * @return \StructType\SalesOrder
     */
    public function setRecurAnnually($recurAnnually = null)
    {
        // validation for constraint: float
        if (!is_null($recurAnnually) && !(is_float($recurAnnually) || is_numeric($recurAnnually))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($recurAnnually, true), gettype($recurAnnually)), __LINE__);
        }
        $this->recurAnnually = $recurAnnually;
        return $this;
    }
    /**
     * Get tranIsVsoeBundle value
     * @return bool|null
     */
    public function getTranIsVsoeBundle()
    {
        return $this->tranIsVsoeBundle;
    }
    /**
     * Set tranIsVsoeBundle value
     * @param bool $tranIsVsoeBundle
     * @return \StructType\SalesOrder
     */
    public function setTranIsVsoeBundle($tranIsVsoeBundle = null)
    {
        // validation for constraint: boolean
        if (!is_null($tranIsVsoeBundle) && !is_bool($tranIsVsoeBundle)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($tranIsVsoeBundle, true), gettype($tranIsVsoeBundle)), __LINE__);
        }
        $this->tranIsVsoeBundle = $tranIsVsoeBundle;
        return $this;
    }
    /**
     * Get vsoeAutoCalc value
     * @return bool|null
     */
    public function getVsoeAutoCalc()
    {
        return $this->vsoeAutoCalc;
    }
    /**
     * Set vsoeAutoCalc value
     * @param bool $vsoeAutoCalc
     * @return \StructType\SalesOrder
     */
    public function setVsoeAutoCalc($vsoeAutoCalc = null)
    {
        // validation for constraint: boolean
        if (!is_null($vsoeAutoCalc) && !is_bool($vsoeAutoCalc)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($vsoeAutoCalc, true), gettype($vsoeAutoCalc)), __LINE__);
        }
        $this->vsoeAutoCalc = $vsoeAutoCalc;
        return $this;
    }
    /**
     * Get syncPartnerTeams value
     * @return bool|null
     */
    public function getSyncPartnerTeams()
    {
        return $this->syncPartnerTeams;
    }
    /**
     * Set syncPartnerTeams value
     * @param bool $syncPartnerTeams
     * @return \StructType\SalesOrder
     */
    public function setSyncPartnerTeams($syncPartnerTeams = null)
    {
        // validation for constraint: boolean
        if (!is_null($syncPartnerTeams) && !is_bool($syncPartnerTeams)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($syncPartnerTeams, true), gettype($syncPartnerTeams)), __LINE__);
        }
        $this->syncPartnerTeams = $syncPartnerTeams;
        return $this;
    }
    /**
     * Get salesTeamList value
     * @return \StructType\SalesOrderSalesTeamList|null
     */
    public function getSalesTeamList()
    {
        return $this->salesTeamList;
    }
    /**
     * Set salesTeamList value
     * @param \StructType\SalesOrderSalesTeamList $salesTeamList
     * @return \StructType\SalesOrder
     */
    public function setSalesTeamList(\StructType\SalesOrderSalesTeamList $salesTeamList = null)
    {
        $this->salesTeamList = $salesTeamList;
        return $this;
    }
    /**
     * Get partnersList value
     * @return \StructType\SalesOrderPartnersList|null
     */
    public function getPartnersList()
    {
        return $this->partnersList;
    }
    /**
     * Set partnersList value
     * @param \StructType\SalesOrderPartnersList $partnersList
     * @return \StructType\SalesOrder
     */
    public function setPartnersList(\StructType\SalesOrderPartnersList $partnersList = null)
    {
        $this->partnersList = $partnersList;
        return $this;
    }
    /**
     * Get giftCertRedemptionList value
     * @return \StructType\GiftCertRedemptionList|null
     */
    public function getGiftCertRedemptionList()
    {
        return $this->giftCertRedemptionList;
    }
    /**
     * Set giftCertRedemptionList value
     * @param \StructType\GiftCertRedemptionList $giftCertRedemptionList
     * @return \StructType\SalesOrder
     */
    public function setGiftCertRedemptionList(\StructType\GiftCertRedemptionList $giftCertRedemptionList = null)
    {
        $this->giftCertRedemptionList = $giftCertRedemptionList;
        return $this;
    }
    /**
     * Get promotionsList value
     * @return \StructType\PromotionsList|null
     */
    public function getPromotionsList()
    {
        return $this->promotionsList;
    }
    /**
     * Set promotionsList value
     * @param \StructType\PromotionsList $promotionsList
     * @return \StructType\SalesOrder
     */
    public function setPromotionsList(\StructType\PromotionsList $promotionsList = null)
    {
        $this->promotionsList = $promotionsList;
        return $this;
    }
    /**
     * Get itemList value
     * @return \StructType\SalesOrderItemList|null
     */
    public function getItemList()
    {
        return $this->itemList;
    }
    /**
     * Set itemList value
     * @param \StructType\SalesOrderItemList $itemList
     * @return \StructType\SalesOrder
     */
    public function setItemList(\StructType\SalesOrderItemList $itemList = null)
    {
        $this->itemList = $itemList;
        return $this;
    }
    /**
     * Get shipGroupList value
     * @return \StructType\SalesOrderShipGroupList|null
     */
    public function getShipGroupList()
    {
        return $this->shipGroupList;
    }
    /**
     * Set shipGroupList value
     * @param \StructType\SalesOrderShipGroupList $shipGroupList
     * @return \StructType\SalesOrder
     */
    public function setShipGroupList(\StructType\SalesOrderShipGroupList $shipGroupList = null)
    {
        $this->shipGroupList = $shipGroupList;
        return $this;
    }
    /**
     * Get accountingBookDetailList value
     * @return \StructType\AccountingBookDetailList|null
     */
    public function getAccountingBookDetailList()
    {
        return $this->accountingBookDetailList;
    }
    /**
     * Set accountingBookDetailList value
     * @param \StructType\AccountingBookDetailList $accountingBookDetailList
     * @return \StructType\SalesOrder
     */
    public function setAccountingBookDetailList(\StructType\AccountingBookDetailList $accountingBookDetailList = null)
    {
        $this->accountingBookDetailList = $accountingBookDetailList;
        return $this;
    }
    /**
     * Get taxDetailsList value
     * @return \StructType\TaxDetailsList|null
     */
    public function getTaxDetailsList()
    {
        return $this->taxDetailsList;
    }
    /**
     * Set taxDetailsList value
     * @param \StructType\TaxDetailsList $taxDetailsList
     * @return \StructType\SalesOrder
     */
    public function setTaxDetailsList(\StructType\TaxDetailsList $taxDetailsList = null)
    {
        $this->taxDetailsList = $taxDetailsList;
        return $this;
    }
    /**
     * Get customFieldList value
     * @return \StructType\CustomFieldList|null
     */
    public function getCustomFieldList()
    {
        return $this->customFieldList;
    }
    /**
     * Set customFieldList value
     * @param \StructType\CustomFieldList $customFieldList
     * @return \StructType\SalesOrder
     */
    public function setCustomFieldList(\StructType\CustomFieldList $customFieldList = null)
    {
        $this->customFieldList = $customFieldList;
        return $this;
    }
    /**
     * Get internalId value
     * @return string|null
     */
    public function getInternalId()
    {
        return $this->internalId;
    }
    /**
     * Set internalId value
     * @param string $internalId
     * @return \StructType\SalesOrder
     */
    public function setInternalId($internalId = null)
    {
        // validation for constraint: string
        if (!is_null($internalId) && !is_string($internalId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($internalId, true), gettype($internalId)), __LINE__);
        }
        $this->internalId = $internalId;
        return $this;
    }
    /**
     * Get externalId value
     * @return string|null
     */
    public function getExternalId()
    {
        return $this->externalId;
    }
    /**
     * Set externalId value
     * @param string $externalId
     * @return \StructType\SalesOrder
     */
    public function setExternalId($externalId = null)
    {
        // validation for constraint: string
        if (!is_null($externalId) && !is_string($externalId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($externalId, true), gettype($externalId)), __LINE__);
        }
        $this->externalId = $externalId;
        return $this;
    }
}
