-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8278c80
commit ad287a6
Showing
12 changed files
with
215 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
|
||
namespace Braintree | ||
{ | ||
public class DisputePayPalMessage | ||
{ | ||
public virtual string Message { get; protected set; } | ||
public virtual string Sender { get; protected set; } | ||
public virtual DateTime? SentAt { get; protected set; } | ||
|
||
public DisputePayPalMessage(NodeWrapper node) | ||
{ | ||
Message = node.GetString("message"); | ||
Sender = node.GetString("sender"); | ||
SentAt = node.GetDateTime("sent-at"); | ||
} | ||
|
||
[Obsolete("Mock Use Only")] | ||
protected internal DisputePayPalMessage() { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
namespace Braintree | ||
{ | ||
public class TaxIdentifierRequest: Request | ||
{ | ||
public string CountryCode { get; set; } | ||
public string Identifier { get; set; } | ||
|
||
public override string ToXml(string root) | ||
{ | ||
return BuildRequest(root).ToXml(); | ||
} | ||
|
||
public override string ToQueryString(string root) | ||
{ | ||
return BuildRequest(root).ToQueryString(); | ||
} | ||
|
||
protected virtual RequestBuilder BuildRequest(string root) | ||
{ | ||
return new RequestBuilder(root) | ||
.AddElement("countryCode", CountryCode) | ||
.AddElement("identifier", Identifier); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters