-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* include submerchant * update address_door_number type * small fix
- Loading branch information
1 parent
5256f7b
commit ab17fbf
Showing
3 changed files
with
101 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
namespace MercadoPago.Client.Common | ||
{ | ||
/// <summary> | ||
/// Address information. | ||
/// </summary> | ||
public class SubMerchant | ||
{ | ||
/// <summary> | ||
/// Sub-commercial establishment establishment code | ||
/// </summary> | ||
public string SubMerchantId { get; set; } | ||
|
||
/// <summary> | ||
/// Sub-commerce MCC as determined by Abecs and/or primary CNAE | ||
/// </summary> | ||
public string Mcc { get; set; } | ||
|
||
/// <summary> | ||
/// Country in which the sub commerce is located | ||
/// </summary> | ||
public string Country { get; set; } | ||
|
||
/// <summary> | ||
/// Street name where the sub-commerce is located | ||
/// </summary> | ||
public string AddressStreet { get; set; } | ||
|
||
/// <summary> | ||
/// Street number where the sub-commerce is located | ||
/// </summary> | ||
public int AddressDoorNumber { get; set; } | ||
|
||
/// <summary> | ||
/// Sub trade name | ||
/// </summary> | ||
public string LegalName { get; set; } | ||
|
||
/// <summary> | ||
/// City where is located | ||
/// </summary> | ||
public string City { get; set; } | ||
|
||
|
||
/// <summary> | ||
/// State where the sub commerce is located | ||
/// </summary> | ||
public string RegionCodeIso { get; set; } | ||
|
||
/// <summary> | ||
/// ISO code of the sub-commerce region (“BR”) | ||
/// </summary> | ||
public string RegionCode { get; set; } | ||
|
||
/// <summary> | ||
/// Sub-commerce CPF or CNPJ type | ||
/// </summary> | ||
public string DocumentType { get; set; } | ||
|
||
/// <summary> | ||
/// Sub-commerce CPF or CNPJ number | ||
/// </summary> | ||
public string DocumentNumber { get; set; } | ||
|
||
/// <summary> | ||
/// Sub-commerce telephone number | ||
/// </summary> | ||
public string Phone { get; set; } | ||
|
||
/// <summary> | ||
/// Sub-commerce telephone number | ||
/// </summary> | ||
public string Zip { get; set; } | ||
|
||
/// <summary> | ||
/// Payment Facilitator URL | ||
/// </summary> | ||
public string Url { get; set; } | ||
} | ||
} |
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
16 changes: 16 additions & 0 deletions
16
src/MercadoPago/Client/Payment/PaymentForwardDataRequest.cs
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,16 @@ | ||
using MercadoPago.Client.Common; | ||
|
||
namespace MercadoPago.Client.Payment | ||
{ | ||
/// <summary> | ||
/// FowardData information | ||
/// </summary> | ||
public class PaymentForwardDataRequest | ||
{ | ||
/// <summary> | ||
/// Payer's personal identification. | ||
/// </summary> | ||
public SubMerchant SubMerchant { get; set; } | ||
|
||
} | ||
} |