-
Notifications
You must be signed in to change notification settings - Fork 10
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
Shangamesh T
committed
Mar 30, 2021
1 parent
89928c3
commit 64cf197
Showing
11 changed files
with
323 additions
and
11 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
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,58 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
|
||
namespace Amazon.Pay.API.WebStore.Types | ||
{ | ||
/// <summary> | ||
/// The buyer details that you're requesting access for. | ||
/// </summary> | ||
[JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | ||
public enum CheckoutSessionScope | ||
{ | ||
/// <summary> | ||
/// Request access to buyer name. | ||
/// </summary> | ||
[EnumMember(Value = "name")] | ||
Name, | ||
|
||
/// <summary> | ||
/// Request access to buyer email address. | ||
/// </summary> | ||
[EnumMember(Value = "email")] | ||
Email, | ||
|
||
/// <summary> | ||
/// Request access to buyer default shipping address postal code and country code. | ||
/// </summary> | ||
[EnumMember(Value = "postalCode")] | ||
PostalCode, | ||
|
||
/// <summary> | ||
/// Request access to buyer default full shipping address (including postal code and country code). | ||
/// </summary> | ||
[EnumMember(Value = "shippingAddress")] | ||
ShippingAddress, | ||
|
||
/// <summary> | ||
/// Request access to buyer default phone number. | ||
/// </summary> | ||
[EnumMember(Value = "phoneNumber")] | ||
PhoneNumber, | ||
|
||
/// <summary> | ||
/// Request access to buyer prime membership status. | ||
/// </summary> | ||
/// <remarks> | ||
/// Note that Passing "primeStatus" will return value for field "primeMembershipTypes" in response, only if the customer is eligible for prime membership | ||
/// </remarks> | ||
[EnumMember(Value = "primeStatus")] | ||
PrimeStatus, | ||
|
||
/// <summary> | ||
/// Request access to buyer default full billing address (including postal code and country code). | ||
/// </summary> | ||
[EnumMember(Value = "billingAddress")] | ||
BillingAddress | ||
} | ||
} |
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
Oops, something went wrong.