Skip to content

Rbsv1plansPlanInformation expects a "Name" in ctor or throws InvalidDataException #78

@bleepzter

Description

@bleepzter

The Rbsv1plansPlanInformation ctor must have the "Name" 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 parameter as optional!?!

[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }

CyberSource.Rest.Client.NetStandard v0.0.1.30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions