-
Notifications
You must be signed in to change notification settings - Fork 43
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
630a474
commit 12286b5
Showing
9 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
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,11 @@ | ||
package com.mercadopago.client.payment; | ||
|
||
import lombok.Getter; | ||
import lombok.experimental.SuperBuilder; | ||
|
||
@Getter | ||
@SuperBuilder | ||
public class PaymentInvoicePeriodRequest { | ||
private int period; | ||
private String type; | ||
} |
10 changes: 10 additions & 0 deletions
10
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,10 @@ | ||
package com.mercadopago.client.payment; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Builder | ||
public class PaymentPaymentReferenceRequest { | ||
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
11 changes: 11 additions & 0 deletions
11
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,11 @@ | ||
package com.mercadopago.client.payment; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Builder | ||
public class PaymentSubscriptionSequenceRequest { | ||
private int number; | ||
private int total; | ||
} |
15 changes: 15 additions & 0 deletions
15
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,15 @@ | ||
package com.mercadopago.client.payment; | ||
|
||
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@Builder | ||
public class PaymentTransactionDataRequest { | ||
private boolean firstTimeUse; | ||
private PaymentSubscriptionSequenceRequest subscriptionSequence; | ||
private String subscriptionId; | ||
private PaymentInvoicePeriodRequest invoicePeriod; | ||
private PaymentPaymentReferenceRequest paymentReference; | ||
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. */ | ||
public int period; | ||
|
||
/** Type. */ | ||
public String type; | ||
} |
5 changes: 5 additions & 0 deletions
5
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,5 @@ | ||
package com.mercadopago.resources.payment; | ||
|
||
public class PaymentPaymentReference { | ||
public 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