-
Notifications
You must be signed in to change notification settings - Fork 4
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
a8a2bb9
commit 7ac77a3
Showing
32 changed files
with
1,400 additions
and
13 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
17 changes: 17 additions & 0 deletions
17
backend/Payment_src/core/Payment.Service/Paypal/Model/Address.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,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace backend.Payment_src.core.Payment.Service.Paypal.Model | ||
{ | ||
public class Address | ||
{ | ||
public string address_line_1 { get; set; } | ||
public string address_line_2 { get; set; } | ||
public string admin_area_2 { get; set; } | ||
public string admin_area_1 { get; set; } | ||
public string postal_code { get; set; } | ||
public string country_code { get; set; } | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
backend/Payment_src/core/Payment.Service/Paypal/Model/Amount.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,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace backend.Payment_src.core.Payment.Service.Paypal.Model | ||
{ | ||
public class Amount | ||
{ | ||
public string currency_code { get; set; } | ||
public string value { get; set; } | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
backend/Payment_src/core/Payment.Service/Paypal/Model/Capture.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,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace backend.Payment_src.core.Payment.Service.Paypal.Model | ||
{ | ||
public class Capture | ||
{ | ||
public string id { get; set; } | ||
public string status { get; set; } | ||
public Amount amount { get; set; } | ||
public SellerProtection seller_protection { get; set; } | ||
public bool final_capture { get; set; } | ||
public string disbursement_mode { get; set; } | ||
public SellerReceivableBreakdown seller_receivable_breakdown { get; set; } | ||
public DateTime create_time { get; set; } | ||
public DateTime update_time { get; set; } | ||
public List<Link> links { get; set; } | ||
} | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
backend/Payment_src/core/Payment.Service/Paypal/Model/Link.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,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace backend.Payment_src.core.Payment.Service.Paypal.Model | ||
{ | ||
public sealed class Link | ||
{ | ||
public string href { get; set; } | ||
public string rel { get; set; } | ||
public string method { get; set; } | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
backend/Payment_src/core/Payment.Service/Paypal/Model/Name.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,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace backend.Payment_src.core.Payment.Service.Paypal.Model | ||
{ | ||
public sealed class Name | ||
{ | ||
public string given_name { get; set; } | ||
public string surname { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
backend/Payment_src/core/Payment.Service/Paypal/Model/Payer.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,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace backend.Payment_src.core.Payment.Service.Paypal.Model | ||
{ | ||
public sealed class Payer | ||
{ | ||
public Name name { get; set; } | ||
public string email_address { get; set; } | ||
public string payer_id { get; set; } | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
backend/Payment_src/core/Payment.Service/Paypal/Model/PaymentSource.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,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace backend.Payment_src.core.Payment.Service.Paypal.Model | ||
{ | ||
public sealed class PaymentSource | ||
{ | ||
public Paypal paypal { get; set; } | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
backend/Payment_src/core/Payment.Service/Paypal/Model/Payments.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,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace backend.Payment_src.core.Payment.Service.Paypal.Model | ||
{ | ||
public sealed class Payments | ||
{ | ||
public List<Capture> captures { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
backend/Payment_src/core/Payment.Service/Paypal/Model/Paypal.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,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace backend.Payment_src.core.Payment.Service.Paypal.Model | ||
{ | ||
public sealed class Paypal | ||
{ | ||
public Name name { get; set; } | ||
public string email_address { get; set; } | ||
public string account_id { get; set; } | ||
} | ||
} |
Oops, something went wrong.