Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjorgo committed May 2, 2024
1 parent eeac486 commit ca5e27a
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/HeboTech.ATLib/DTOs/SmsSubmitRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,10 @@ public SmsSubmitRequest(
PhoneNumber phoneNumber,
string message,
CharacterSet codingScheme)
: this(
phoneNumber,
message,
codingScheme,
ValidityPeriod.NotPresent())
{
}

/// <summary>
/// Creates a data object for submitting an SMS in PDU format.
/// </summary>
/// <param name="phoneNumber">The receiver phone number</param>
/// <param name="message">The message to send</param>
/// <param name="codingScheme">The coding scheme to use</param>
/// <param name="validityPeriod">The validity period to use</param>
public SmsSubmitRequest(
PhoneNumber phoneNumber,
string message,
CharacterSet codingScheme,
ValidityPeriod validityPeriod)
{
PhoneNumber = phoneNumber;
Message = message;
CodingScheme = codingScheme;
ValidityPeriod = validityPeriod;
}

public PhoneNumber PhoneNumber { get; }
Expand Down

0 comments on commit ca5e27a

Please sign in to comment.