public class PaymentResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentResponse.PaymentResponseBuilder |
| Constructor and Description |
|---|
PaymentResponse() |
PaymentResponse(String resource,
String id,
String mode,
OffsetDateTime createdAt,
PaymentStatus status,
boolean isCancelable,
Optional<OffsetDateTime> authorizedAt,
Optional<OffsetDateTime> paidAt,
Optional<OffsetDateTime> canceledAt,
OffsetDateTime expiresAt,
Optional<OffsetDateTime> expiredAt,
Optional<OffsetDateTime> failedAt,
Amount amount,
Optional<Amount> amountRefunded,
Optional<Amount> amountRemaining,
Optional<Amount> amountCaptured,
String description,
String redirectUrl,
Optional<String> webhookUrl,
PaymentMethod method,
Map<String,Object> metadata,
Locale locale,
Optional<String> countryCode,
String profileId,
Optional<Amount> settlementAmount,
Optional<String> settlementId,
Optional<String> customerId,
SequenceType sequenceType,
Optional<String> mandateId,
Optional<String> subscriptionId,
Optional<String> orderId,
Optional<ApplicationFee> applicationFee,
PaymentLinks links,
PaymentDetailsResponse details,
PaymentEmbedded embedded) |
public PaymentResponse(String resource, String id, String mode, OffsetDateTime createdAt, PaymentStatus status, boolean isCancelable, Optional<OffsetDateTime> authorizedAt, Optional<OffsetDateTime> paidAt, Optional<OffsetDateTime> canceledAt, OffsetDateTime expiresAt, Optional<OffsetDateTime> expiredAt, Optional<OffsetDateTime> failedAt, Amount amount, Optional<Amount> amountRefunded, Optional<Amount> amountRemaining, Optional<Amount> amountCaptured, String description, String redirectUrl, Optional<String> webhookUrl, PaymentMethod method, Map<String,Object> metadata, Locale locale, Optional<String> countryCode, String profileId, Optional<Amount> settlementAmount, Optional<String> settlementId, Optional<String> customerId, SequenceType sequenceType, Optional<String> mandateId, Optional<String> subscriptionId, Optional<String> orderId, Optional<ApplicationFee> applicationFee, PaymentLinks links, PaymentDetailsResponse details, PaymentEmbedded embedded)
public PaymentResponse()
public void setIsCancelable(boolean cancelable)
public static PaymentResponse.PaymentResponseBuilder builder()
public String getResource()
public String getId()
public String getMode()
public OffsetDateTime getCreatedAt()
public PaymentStatus getStatus()
public boolean isCancelable()
public Optional<OffsetDateTime> getAuthorizedAt()
public Optional<OffsetDateTime> getPaidAt()
public Optional<OffsetDateTime> getCanceledAt()
public OffsetDateTime getExpiresAt()
public Optional<OffsetDateTime> getExpiredAt()
public Optional<OffsetDateTime> getFailedAt()
public Amount getAmount()
public String getDescription()
public String getRedirectUrl()
public PaymentMethod getMethod()
public Locale getLocale()
public String getProfileId()
public SequenceType getSequenceType()
public Optional<ApplicationFee> getApplicationFee()
public PaymentLinks getLinks()
public PaymentDetailsResponse getDetails()
public PaymentEmbedded getEmbedded()
public void setResource(String resource)
public void setId(String id)
public void setMode(String mode)
public void setCreatedAt(OffsetDateTime createdAt)
public void setStatus(PaymentStatus status)
public void setAuthorizedAt(Optional<OffsetDateTime> authorizedAt)
public void setPaidAt(Optional<OffsetDateTime> paidAt)
public void setCanceledAt(Optional<OffsetDateTime> canceledAt)
public void setExpiresAt(OffsetDateTime expiresAt)
public void setExpiredAt(Optional<OffsetDateTime> expiredAt)
public void setFailedAt(Optional<OffsetDateTime> failedAt)
public void setAmount(Amount amount)
public void setDescription(String description)
public void setRedirectUrl(String redirectUrl)
public void setMethod(PaymentMethod method)
public void setLocale(Locale locale)
public void setProfileId(String profileId)
public void setSequenceType(SequenceType sequenceType)
public void setApplicationFee(Optional<ApplicationFee> applicationFee)
public void setLinks(PaymentLinks links)
public void setDetails(PaymentDetailsResponse details)
public void setEmbedded(PaymentEmbedded embedded)
protected boolean canEqual(Object other)
Copyright © 2022. All rights reserved.