You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Rbsv1subscriptionsSubscriptionInformation ctor must have the "Name" and StartDate parameter passed in or it throws the exception. DTO's should allow empty ctors and not contain logic that creates side effects.
This is especially true when the DTO can accept any Name and any StartDate through property assignment and the ctor sets the Name and StartDate as optional?!?
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
[DataMember(Name = "startDate", EmitDefaultValue = false)]
public string StartDate { get; set; }
CyberSource.Rest.Client.NetStandard v0.0.1.30
The text was updated successfully, but these errors were encountered:
The Rbsv1subscriptionsSubscriptionInformation ctor must have the "Name" and StartDate parameter passed in or it throws the exception. DTO's should allow empty ctors and not contain logic that creates side effects.
This is especially true when the DTO can accept any Name and any StartDate through property assignment and the ctor sets the Name and StartDate as optional?!?
CyberSource.Rest.Client.NetStandard v0.0.1.30
The text was updated successfully, but these errors were encountered: