-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from mercadopago/feature/add-address-fields
Add Point of Interaction and Address Object
- Loading branch information
Showing
9 changed files
with
113 additions
and
1 deletion.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/main/java/com/mercadopago/client/payment/PaymentInvoicePeriodRequest.java
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 @@ | ||
package com.mercadopago.client.payment; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Builder | ||
public class PaymentInvoicePeriodRequest { | ||
/** Period. */ | ||
private int period; | ||
/** Type. */ | ||
private String type; | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/com/mercadopago/client/payment/PaymentPaymentReferenceRequest.java
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,11 @@ | ||
package com.mercadopago.client.payment; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Builder | ||
public class PaymentPaymentReferenceRequest { | ||
/** Payment ID reference. */ | ||
private String id; | ||
} |
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
13 changes: 13 additions & 0 deletions
13
src/main/java/com/mercadopago/client/payment/PaymentSubscriptionSequenceRequest.java
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 @@ | ||
package com.mercadopago.client.payment; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Builder | ||
public class PaymentSubscriptionSequenceRequest { | ||
/** Number. */ | ||
private int number; | ||
/** Total. */ | ||
private int total; | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/com/mercadopago/client/payment/PaymentTransactionDataRequest.java
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 @@ | ||
package com.mercadopago.client.payment; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Builder | ||
public class PaymentTransactionDataRequest { | ||
/** First time use. */ | ||
private boolean firstTimeUse; | ||
/** Subscription sequence. */ | ||
private PaymentSubscriptionSequenceRequest subscriptionSequence; | ||
/** Subscription id. */ | ||
private String subscriptionId; | ||
/** Invoice period. */ | ||
private PaymentInvoicePeriodRequest invoicePeriod; | ||
/** Payment reference. */ | ||
private PaymentPaymentReferenceRequest paymentReference; | ||
/** Billing date. */ | ||
private String billingDate; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/main/java/com/mercadopago/resources/payment/PaymentInvoicePeriod.java
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 @@ | ||
package com.mercadopago.resources.payment; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class PaymentInvoicePeriod { | ||
|
||
/** Period. */ | ||
private int period; | ||
|
||
/** Type. */ | ||
private String type; | ||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/com/mercadopago/resources/payment/PaymentPaymentReference.java
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,9 @@ | ||
package com.mercadopago.resources.payment; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class PaymentPaymentReference { | ||
/** Payment ID reference. */ | ||
private String id; | ||
} |
12 changes: 12 additions & 0 deletions
12
src/main/java/com/mercadopago/resources/payment/PaymentSubscriptionSequence.java
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 @@ | ||
package com.mercadopago.resources.payment; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class PaymentSubscriptionSequence { | ||
/** Number. */ | ||
private int number; | ||
|
||
/** Total. */ | ||
private int total; | ||
} |
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