Skip to content

Commit

Permalink
add comments and fix access modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
brunacamposxx committed Oct 24, 2023
1 parent 12286b5 commit 9b1558f
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package com.mercadopago.client.payment;

import lombok.Builder;
import lombok.Getter;
import lombok.experimental.SuperBuilder;

@Getter
@SuperBuilder
@Builder
public class PaymentInvoicePeriodRequest {
/** Period. */
private int period;
/** Type. */
private String type;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
@Getter
@Builder
public class PaymentPaymentReferenceRequest {
/** Payment ID reference. */
private String id;
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class PaymentPointOfInteractionRequest {

/** Type. */
private final String type;

/** Transaction data. */
private final PaymentTransactionDataRequest transactionData;

}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
@Getter
@Builder
public class PaymentSubscriptionSequenceRequest {
/** Number. */
private int number;
/** Total. */
private int total;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@
@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;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
public class PaymentInvoicePeriod {

/** Period. */
public int period;
private int period;

/** Type. */
public String type;
private String type;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.mercadopago.resources.payment;

public class PaymentPaymentReference {
public String id;
/** Payment ID reference. */
private String id;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.mercadopago.resources.payment;

import com.mercadopago.client.payment.PaymentSubscriptionSequenceRequest;
import lombok.Getter;

/** PaymentTransactionData class. */
Expand Down

0 comments on commit 9b1558f

Please sign in to comment.