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,
Date createdAt,
String status,
boolean isCancelable,
Optional<Date> authorizedAt,
Optional<Date> paidAt,
Optional<Date> canceledAt,
Date expiresAt,
Optional<Date> expiredAt,
Optional<Date> 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, Date createdAt, String status, boolean isCancelable, Optional<Date> authorizedAt, Optional<Date> paidAt, Optional<Date> canceledAt, Date expiresAt, Optional<Date> expiredAt, Optional<Date> 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 static PaymentResponse.PaymentResponseBuilder builder()
public String getResource()
public String getId()
public String getMode()
public Date getCreatedAt()
public String getStatus()
public boolean isCancelable()
public Date getExpiresAt()
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(Date createdAt)
public void setStatus(String status)
public void setCancelable(boolean isCancelable)
public void setExpiresAt(Date expiresAt)
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 © 2020. All rights reserved.