-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bnpl payment integration #145
Conversation
@@ -202,6 +202,24 @@ public Object createApplePayMerchantSession(ApplePayMerchantSessionCreateRequest | |||
applePayMerchantSessionCreateRequest, Object.class); | |||
} | |||
|
|||
public BnplPaymentOfferResponse offerBnplPayment(BnplPaymentOfferRequest bnplPaymentOfferRequest) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
retrieveBnplOffers yapalım mı?
|
||
@Data | ||
@SuperBuilder | ||
public class ApmPaymentInitRequest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
InitApmPaymentRequest kullanılabilir. bunu silelim
@Data | ||
@SuperBuilder | ||
@EqualsAndHashCode(callSuper = true) | ||
public class BnplPaymentInitRequest extends ApmPaymentInitRequest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
InitApmPaymentRequest den extend edebilir
|
||
@Data | ||
@Builder | ||
public class CreatePaymentItemRequest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bunu da silebiliriz.
|
||
@Data | ||
@Builder | ||
public class ConvertedPaymentTxPayout { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bunu da silebiliriz.
import lombok.Data; | ||
|
||
@Data | ||
public class BnplPaymentInitResponse { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
InitBnplPaymentResponse olarak değiştirelim
import java.time.LocalDateTime; | ||
|
||
@Data | ||
public class PaymentTxResponse { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bunu da silebiliriz.
|
||
|
||
@Test | ||
void init() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
init_bnpl_payment
|
||
|
||
@Test | ||
void approve() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approve_bnpl_payment
|
||
@Data | ||
@Builder | ||
public class OfferBnplPaymentRequest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public class OfferBnplPaymentRequest { | |
public class BnplPaymentOfferRequest { |
import java.util.List; | ||
|
||
@Data | ||
public class OfferBnplPaymentResponse { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public class OfferBnplPaymentResponse { | |
public class BnplPaymentOfferResponse { |
No description provided.