C# client library 1.0.0 changelog
Note that the 1.0.0-beta.7 version is identical to 1.0.0.
ObjectQueriesApi
-
Introduced the
includeNullFieldsparameter to query methods, enabling the inclusion of null fields in the response. - Added new methods for querying commitments, commitment segments, delivery adjustments, fulfillments, and ramps by key and with additional parameters.
- Introduced asynchronous versions of the new query methods for commitments, commitment segments, delivery adjustments, fulfillments, and ramps.
- Added QueryCommitments method to query commitments with various optional parameters.
- Introduced QueryDeliveryAdjustmentByKey method to query delivery adjustments by key.
- Added QueryDeliveryAdjustments method to query multiple delivery adjustments.
- Introduced QueryFulfillmentByKey method to query fulfillments by key.
- Added QueryFulfillments method to query multiple fulfillments.
- Introduced QueryRampByKey method to query ramps by key.
- Added QueryRamps method to query multiple ramps.
-
Added new method
QueryRampsfor querying ramp objects synchronously. -
Added new asynchronous method
QueryRampsAsyncfor querying ramp objects with support for cancellation tokens. -
Introduced support for additional optional parameters in
QueryRampsandQueryRampsAsyncmethods, includingidempotencyKey,acceptEncoding,contentEncoding,zuoraTrackId,zuoraEntityIds,authorization,zuoraVersion,zuoraOrgIds,pageSize,cursor,sort,expand,filter,fields, andincludeNullFields.
BulkUpdateInvoicesRequest
-
Changed the type of the
invoicesparameter and property from Listto List .
BulkUpdateOrderLineItem
-
Removed the
itemNumberparameter from the constructor and the corresponding property from the class. - Added validation for various string properties to ensure they do not exceed specified maximum lengths.
-
Added pattern validation for
BillToandShipToproperties. -
Added minimum length validation for
InvoiceGroupNumberandSoldToproperties. -
Added minimum value validation for
Quantityproperty.
CancelSubscriptionRequest
- Added validation for CreditMemoReasonCode to ensure its length is less than 25 characters.
- Added regex pattern validation for DocumentDate, InvoiceTargetDate, and TargetDate to ensure they match the pattern YYYY-MM-DD.
CreateAccountPaymentMethod
- Added validation for AddressLine1 and AddressLine2 to ensure maximum length of 255 characters.
- Added validation for City to ensure maximum length of 40 characters.
- Added validation for Country to ensure maximum length of 64 characters.
- Added validation for Phone to ensure maximum length of 40 characters.
- Added validation for State to ensure maximum length of 50 characters.
- Added validation for ZipCode to ensure maximum length of 20 characters.
- Added validation for IBAN to ensure minimum length of 2 characters.
- Added validation for IdentityNumber to ensure maximum length of 256 characters.
- Added validation for MitProfileAgreedOn to match a specific date pattern.
- Added validation for SecondTokenId to ensure maximum length of 64 characters.
- Added validation for TokenId to ensure length between 1 and 255 characters.
- Added validation for BAID to ensure length between 1 and 64 characters.
- Added validation for Email to ensure maximum length of 80 characters.
-
Added validation for PreapprovalKey to ensure length between 1 and 32 characters.
CreateAccountRequest
-
Removed parameters
organizationIdandorganizationNamefrom the CreateAccountRequest constructor. -
Removed properties
OrganizationIdandOrganizationNamefrom the CreateAccountRequest class. -
Added validation for various fields including AccountNumber, CommunicationProfileId, CreditMemoReasonCode, CrmId, Currency, DocumentDate, HpmCreditCardPaymentMethodId, InvoiceTargetDate, InvoiceTemplateId, Name, Notes, PaymentGateway, SalesRep, SequenceSetId, TargetDate, CommunicationProfileName, PaymentGatewayNumber, PaymentGatewayName, ParentAccountNumber, SummaryStatementTemplateId, SequenceSetName, and PurchaseOrderNumber.
CreateAccountingCodeRequest
- Added validation for GlAccountName to ensure its length does not exceed 255 characters.
- Added validation for GlAccountNumber to ensure its length does not exceed 255 characters.
- Added validation for Name to ensure its length does not exceed 100 characters.
-
Added validation for Notes to ensure its length does not exceed 2000 characters.
CreateAccountingPeriodRequest
-
Added validation for
Namefield to ensure its length does not exceed 100 characters. -
Added validation for
Notesfield to ensure its length does not exceed 255 characters.CreateCatalogGroupRequest
-
The
nameparameter is now required and cannot be null. An ArgumentNullException will be thrown ifnameis not provided. -
The
Nameproperty is now marked as required in the DataMember attribute. -
Added validation to ensure
Descriptiondoes not exceed 500 characters. -
Added validation to ensure
Namedoes not exceed 255 characters.CreateContactRequest
- The maximum allowed length for the MobilePhone field has been reduced from 100 to 40 characters. This change may require developers to update their code to ensure that mobile phone numbers do not exceed the new limit.
CreateCreditMemoFromCharge
-
Added validation for
Commentfield to ensure its length does not exceed 255 characters. -
Added validation for
Numberfield to ensure its length does not exceed 255 characters.
CreateCreditMemoFromChargeRequest
-
The
chargesparameter is now required and cannot be null. This change will require developers to ensure that a non-null value is provided forchargeswhen creating an instance of CreateCreditMemoFromChargeRequest. -
Validation added for
CommentandNumberfields to ensure their lengths do not exceed 255 characters.
CreateCreditMemoFromInvoice
-
The
itemsparameter is now required in the CreateCreditMemoFromInvoice constructor. Passing a null value will throw an ArgumentNullException. - Added a protected constructor for CreateCreditMemoFromInvoice that initializes AdditionalProperties as a new Dictionary.
CreateCreditMemoFromInvoiceRequest
-
The
itemsparameter is now required in the CreateCreditMemoFromInvoiceRequest constructor. Passing a null value will throw an ArgumentNullException. -
Added a protected constructor for CreateCreditMemoFromInvoiceRequest that initializes AdditionalProperties as a new Dictionary.
CreateCreditMemoTaxationItemsRequest
- The constructor for CreateCreditMemoTaxationItemsRequest now requires a non-null list of taxationItems. Passing a null value will throw an ArgumentNullException.
-
The DataMember attribute for TaxationItems now has IsRequired set to true, indicating that this property must be provided.
CreateDebitMemoFromCharge
-
Added validation for the
Numberfield to ensure its length does not exceed 255 characters.CreateDebitMemoFromChargeRequest
-
The
chargesparameter is now required and cannot be null. This change will require developers to ensure that a non-null value is provided forchargeswhen creating an instance of CreateDebitMemoFromChargeRequest. -
Added validation to ensure the
Numberproperty does not exceed a length of 255 characters.CreateDebitMemoFromInvoiceRequest
-
The
itemsparameter is now required in the CreateDebitMemoFromInvoiceRequest constructor. Passing a null value will throw an ArgumentNullException.
CreateDebitMemosFromInvoiceRequest
-
The
itemsparameter is now required in the CreateDebitMemosFromInvoiceRequest constructor. Passing a null value will throw an ArgumentNullException.
CreateInvoiceCollectRequest
-
Removed
invoiceNumberparameter from the constructor and the corresponding property. -
Added validation for
PaymentGatewayto ensure its length does not exceed 40 characters.CreateInvoiceRequest
-
Added validation for
Commentsfield to ensure its length does not exceed 255 characters. -
Added validation for
InvoiceNumberfield to ensure its length does not exceed 255 characters. -
Added pattern validation for
BillToContactId,SoldToContactId,TemplateId, andShipToContactIdfields to ensure they match a 32-character hexadecimal pattern. -
Added validation for
PaymentTermfield to ensure its length does not exceed 100 characters. -
Added validation for
SequenceSetfield to ensure its length does not exceed 50 characters.CreateInvoiceScheduleRequest
-
The
accountKeyparameter is now required and cannot be null. An ArgumentNullException will be thrown if it is not provided. -
The
ordersparameter is now required and cannot be null. An ArgumentNullException will be thrown if it is not provided. -
Added a protected constructor for CreateInvoiceScheduleRequest that initializes AdditionalProperties as a new Dictionary.
CreateJournalEntryRequest
-
Added validation for
Currencyfield to ensure its length does not exceed 3 characters. -
Added validation for
Notesfield to ensure its length does not exceed 2000 characters.CreateOrderRequest
-
Removed the
ExternallyManagedByproperty from the CreateOrderRequest class, which may require updates to code that previously utilized this property.CreatePaymentMethodACH
- Added validation for AddressLine1 with a maximum length of 255 characters.
- Added validation for AddressLine2 with a maximum length of 255 characters.
- Added validation for City with a maximum length of 40 characters.
- Added validation for Country with a maximum length of 64 characters.
- Added validation for Phone with a maximum length of 40 characters.
- Added validation for State with a maximum length of 50 characters.
-
Added validation for ZipCode with a maximum length of 20 characters.
CreatePaymentMethodBankTransfer
- Added validation for IBAN to ensure its length is greater than 2.
-
Added validation for IdentityNumber to ensure its length is less than 256.
CreatePaymentMethodCCReferenceTransaction
- Added validation for SecondTokenId with a maximum length of 64 characters.
-
Added validation for TokenId with a maximum length of 255 characters and a minimum length of 1 character.
CreatePaymentMethodDecryptionRequest
-
Added validation for PaymentGateway field to ensure its length does not exceed 40 characters.
CreatePaymentMethodPayPalAdaptive
-
Added validation for PreapprovalKey to ensure its length is between 1 and 32 characters.
CreatePaymentMethodPayPalECPayPalNativeECPayPalCP
- Added validation for BAID with constraints on maximum length (64 characters) and minimum length (1 character).
-
Added validation for Email with a maximum length constraint of 80 characters.
CreatePaymentMethodRequest
- The class CreatePaymentMethodRequest now extends AbstractOpenAPISchema instead of directly implementing IValidatableObject.
- The constructor for CreatePaymentMethodRequest has been changed to accept specific payment method instances (e.g., CreatePayPalECPaymentMethod) instead of individual parameters.
- The properties such as BAID, Email, CardNumber, etc., have been removed from CreatePaymentMethodRequest, and the class now uses a oneOf schema approach.
- The ActualInstance property now throws an exception if the instance type is not one of the predefined payment method types.
- Introduced multiple constructors for CreatePaymentMethodRequest to initialize with specific payment method types like CreatePayPalECPaymentMethod, CreateCreditCardPaymentMethod, etc.
-
Added a custom JSON converter CreatePaymentMethodRequestJsonConverter for handling serialization and deserialization of CreatePaymentMethodRequest.
CreatePaymentMethodUpdaterBatchRequest
-
Added validation for UpdaterAccountId to ensure it matches a specific pattern of 32 hexadecimal characters.
CreatePaymentRequest
-
The property
GatewayOrderIdhas been renamed toPaymentGatewayNumber. This change requires developers to update their code to use the new property name. -
The maximum length for
PaymentGatewayNumberhas been reduced from 50 to 40 characters. Developers need to ensure that the values assigned to this property do not exceed the new limit.CreatePaymentRunRequest
-
Added validation for AccountId, BillingRunId, and PaymentGatewayId to ensure their lengths do not exceed 32 characters.
CreatePaymentScheduleItemsRequest
-
The constructor now throws an ArgumentNullException if
itemsis null, makingitemsa required parameter. -
Added a protected constructor that initializes AdditionalProperties as a new Dictionary.
CreatePaymentScheduleRequest
-
Added validation for
Descriptionfield to ensure its length does not exceed 255 characters. -
Added validation for
Occurrencesfield to ensure its value does not exceed 1000.CreatePaymentSchedulesRequest
-
The constructor for CreatePaymentSchedulesRequest now requires a non-null
paymentSchedulesparameter. Passing a null value will throw an ArgumentNullException.CreateRSASignatureRequest
-
Added validation for Uri property to ensure its length does not exceed 2000 characters.
CreateSubscriptionRequest
- Added validation for CreditMemoReasonCode with a maximum length of 25 characters.
- Added validation for DocumentDate to match the pattern YYYY-M-D.
- Added validation for InitialTerm to ensure it is greater than or equal to 1.
- Added validation for InvoiceTargetDate to match the pattern YYYY-M-D.
- Added validation for Notes with a maximum length of 500 characters.
- Added validation for RenewalTerm to ensure it is greater than or equal to 0.
- Added validation for SubscriptionNumber with a maximum length of 100 characters.
-
Added validation for TargetDate to match the pattern YYYY-M-D.
CreateTaxationItemsRequest
- The constructor for CreateTaxationItemsRequest now requires a non-null list of taxationItems. Passing a null value will throw an ArgumentNullException.
-
The DataMember attribute for TaxationItems now has IsRequired set to true, indicating that this property must be provided.
EmailBillingDocumentRequest
-
Added validation for PdfFileId to ensure it matches the pattern of a 32-character hexadecimal string.
GenerateBillingDocumentRequest
-
The
effectiveDateparameter is now required and cannot be null. -
The
targetDateparameter is now required and cannot be null. -
Added validation to ensure
CreditMemoReasonCodedoes not exceed 25 characters.PreviewExistingSubscriptionRequest
-
The
previewThroughDateparameter is now required and cannot be null. This change will require developers to ensure that this parameter is provided when creating an instance of PreviewExistingSubscriptionRequest. -
Added a protected constructor for PreviewExistingSubscriptionRequest that initializes the AdditionalProperties dictionary.
PreviewPaymentSchedule
-
Added validation to ensure the
Occurrencesproperty does not exceed 1000.PreviewSubscriptionRequest
- Added validation for DocumentDate to ensure it matches the pattern YYYY-M-D.
- Added validation for InitialTerm to ensure it is greater than or equal to 1.
- Added validation for InvoiceTargetDate to ensure it matches the pattern YYYY-M-D.
- Added validation for Notes to ensure its length is less than 500 characters.
-
Added validation for TargetDate to ensure it matches the pattern YYYY-M-D.
PutAttachmentRequest
-
Added validation for
Descriptionto ensure its length does not exceed 255 characters. -
Added validation for
FileNameto ensure its length does not exceed 255 characters. -
Added validation for
FileNameto ensure its length is at least 1 character.ReconcileRefundRequest
-
The
actionproperty is now required and cannot be null. -
The
gatewayReconciliationStatusproperty is now required and cannot be null. -
Added validation to ensure
GatewayReconciliationReason,GatewayReconciliationStatus, andPayoutIdhave a maximum length of 64 characters.RefundCreditMemoRequest
-
Added validation for GatewayId to ensure its length does not exceed 35 characters.
RegenerateBillingRequest
-
The constructor for RegenerateBillingRequest now requires the
typeparameter to be non-null, throwing an ArgumentNullException if it is null. -
The
documentIdproperty has been renamed toid. -
A protected constructor has been added to initialize the AdditionalProperties dictionary.
RegenerateBookingRequest
-
The
typeparameter is now required and cannot be null. An ArgumentNullException will be thrown if it is not provided. -
The
subscriptionNumberparameter has been replaced withsubscriptionName. -
Added a protected constructor for RegenerateBookingRequest that initializes AdditionalProperties as a new Dictionary.
RejectPaymentRequest
- Added validation for GatewayReconciliationReason to ensure its length is less than 64 characters.
- Added validation for GatewayReconciliationStatus to ensure its length is less than 64 characters.
- Added validation for GatewayResponse to ensure its length is less than 500 characters.
-
Added validation for GatewayResponseCode to ensure its length is less than 20 characters.
RenewSubscriptionRequest
- Added validation for CreditMemoReasonCode to ensure its length does not exceed 25 characters.
-
Introduced regex pattern validation for DocumentDate, InvoiceTargetDate, and TargetDate to ensure they match the pattern YYYY-MM-DD.
ResumeSubscriptionRequest
- Added validation for CreditMemoReasonCode to ensure its length does not exceed 25 characters.
-
Added regex pattern validation for DocumentDate, InvoiceTargetDate, and TargetDate to ensure they match the pattern YYYY-M-D.
ReverseCreditMemoRequest
-
Added validation for the
Commentfield to ensure its length does not exceed 255 characters.ReversePaymentRequest
- Added validation for GatewayReconciliationReason with a maximum length of 64 characters.
- Added validation for GatewayReconciliationStatus with a maximum length of 64 characters.
- Added validation for GatewayResponse with a maximum length of 500 characters.
- Added validation for GatewayResponseCode with a maximum length of 20 characters.
-
Added validation for PayoutId with a maximum length of 64 characters.
SettlePaymentRequest
- Added validation for GatewayReconciliationReason to ensure its length does not exceed 64 characters.
- Added validation for GatewayReconciliationStatus to ensure its length does not exceed 64 characters.
-
Added validation for PayoutId to ensure its length does not exceed 64 characters.
SubmitDataLabelingJobRequest
-
Added validation to ensure the
Querystring length does not exceed 2000 characters.SuspendSubscriptionRequest
- Added validation for CreditMemoReasonCode to ensure its length does not exceed 25 characters.
-
Introduced regex pattern validation for DocumentDate, InvoiceTargetDate, and TargetDate fields to ensure they match the pattern YYYY-MM-DD.
UpdateAccountRequest
-
Removed the
organizationLabelparameter from the UpdateAccountRequest constructor and its associated property. -
Added regex pattern validation for
BillToContactId,ShipToContactId,DefaultPaymentMethodId, andSoldToContactIdto ensure they match a 32-character hexadecimal format. -
Added maxLength validation for
CrmId,Name,Notes,PaymentGateway,PurchaseOrderNumber,SalesRep,SequenceSetId,PaymentGatewayNumber, andSummaryStatementTemplateId. -
Added minLength validation for
Name.UpdateAccountingCodeRequest
- Added validation for GlAccountName to ensure its length does not exceed 255 characters.
- Added validation for GlAccountNumber to ensure its length does not exceed 255 characters.
- Added validation for Name to ensure its length does not exceed 100 characters.
-
Added validation for Notes to ensure its length does not exceed 2000 characters.
UpdateAccountingPeriodRequest
-
Added validation for
Namefield to ensure its length does not exceed 100 characters. -
Added validation for
Notesfield to ensure its length does not exceed 255 characters.UpdateBasicSummaryJournalEntryRequest
-
Added validation for the
Notesfield to ensure its length does not exceed 2000 characters.UpdateDebitMemoRequest
-
Added validation for DueDate field to ensure it matches the pattern YYYY-MM-DD.
UpdateDebitMemoWithId
-
Added validation for DueDate field to ensure it matches the pattern YYYY-MM-DD.
UpdateFulfillmentItemRequest
-
Added validation for
Descriptionfield to ensure its length does not exceed 255 characters. -
Added validation for
ItemIdentifierfield to ensure its length does not exceed 36 characters.UpdateFulfillmentRequest
- Removed properties: FulfillmentType, ExcludeItemBillingFromRevenueAccounting, ExcludeItemBookingFromRevenueAccounting, and OrderLineItemId from the UpdateFulfillmentRequest class.
-
Added validation for maximum length constraints on Carrier, Description, ExternalId, FulfillmentLocation, FulfillmentSystem, and TrackingNumber fields.
UpdateInvoiceRequest
-
Removed the
Idproperty from the UpdateInvoiceRequest class, which may require updates to code that previously set or accessed this property. -
Added validation for
DueDateandInvoiceDateto ensure they match the pattern YYYY-MM-DD. -
Added a maximum length validation for
TemplateId, restricting it to 32 characters.UpdateOrderAction
-
Added validation for ChangeReason property to ensure its length does not exceed 255 characters.
UpdateOrderActionRequest
-
The constructor signature has changed. The parameter
orderActionhas been replaced withchangeReasonandcustomFields. This requires updates to any instantiation of UpdateOrderActionRequest. -
Added
changeReasonproperty to specify the reason for the change. -
Added
customFieldsproperty to allow additional custom fields to be included in the request.UpdateOrderLineItem
-
Removed the
itemNumberparameter from the constructor and the corresponding property. - Added validation for various string properties to enforce maximum length constraints.
-
Added pattern validation for
BillToandShipToproperties. -
Added minimum length validation for
InvoiceGroupNumberandSoldToproperties. -
Added minimum value validation for
Quantityproperty.UpdateOrderLineItemRequest
-
Removed the
itemNumberparameter from the constructor and the corresponding property. - Added validation for maximum length constraints on various string properties such as AccountingCode, AdjustmentLiabilityAccountingCode, AdjustmentRevenueAccountingCode, and others.
-
Added pattern validation for
BillToandShipToproperties. -
Added minimum length validation for
InvoiceGroupNumberandSoldToproperties. -
Added minimum value validation for
Quantityproperty.UpdateOrderRequest
-
Removed the
ExternallyManagedByproperty from the UpdateOrderRequest class, which may require updates to code that previously set or accessed this property.UpdatePaymentMethodRequest
- The class UpdatePaymentMethodRequest now inherits from AbstractOpenAPISchema instead of directly implementing IValidatableObject.
- Constructors for UpdatePaymentMethodRequest have been changed to require specific instances of payment method update classes (e.g., UpdateCreditCardPaymentMethod, UpdateACHPaymentMethod) instead of individual parameters.
- The ActualInstance property now throws an ArgumentException if the instance is null or not of the expected types.
- The ToJson method now serializes the ActualInstance instead of the entire UpdatePaymentMethodRequest object.
- Added support for multiple payment method update types using a oneOf schema, allowing UpdatePaymentMethodRequest to handle different payment method updates.
- Introduced a custom JSON converter, UpdatePaymentMethodRequestJsonConverter, to handle serialization and deserialization of UpdatePaymentMethodRequest objects.
-
Added static method FromJson to deserialize JSON strings into UpdatePaymentMethodRequest instances based on the contained payment method type.
UpdatePaymentMethodRequestCreditCardInfo
-
The class UpdatePaymentMethodRequestCreditCardInfo has been removed, which will break any code relying on this class for updating credit card information.
UpdatePaymentRunRequest
-
Added validation for AccountId, BillingRunId, and PaymentGatewayId to ensure their lengths do not exceed 32 characters.
UpdatePaymentScheduleItemRequest
-
Added validation to ensure the
Descriptionfield does not exceed 255 characters.UpdatePaymentScheduleRequest
-
Added validation to ensure the
Occurrencesfield does not exceed 1000.UpdateSequenceSetRequest
-
Added validation for
Nameproperty to ensure its length is between 1 and 15 characters.UpdateSubscriptionRequest
- Added validation for CreditMemoReasonCode with a maximum length of 25 characters.
- Introduced validation for CurrentTerm to ensure it is greater than or equal to 1.
- Implemented pattern validation for DocumentDate, InvoiceTargetDate, and TargetDate to match the format YYYY-M-D.
- Added validation for Notes with a maximum length of 500 characters.
-
Introduced validation for RenewalTerm to ensure it is greater than or equal to 0.
UsageOveragePricingOverride
-
Added a new parameter
originalListPriceto the UsageOveragePricingOverride constructor.UsageOveragePricingUpdate
-
Added a new property
OriginalListPriceto the UsageOveragePricingUpdate class.WriteOffInvoiceRequest
- Added validation for NonRevenueWriteOffAccountingCode to ensure its length does not exceed 100 characters.
-
Introduced a pattern validation for MemoDate to ensure it matches the format
yyyy-MM-dd.