Class AbstractAdditionalPropertiesAwareDTO
java.lang.Object
com.broadleafcommerce.vendor.chasepayment.service.support.AbstractAdditionalPropertiesAwareDTO
- Direct Known Subclasses:
ApplePayEncryptedPaymentBundle,ApplePayHeader,AvsBilling,EmvInfo,GatewayResponse,HPSOrderAbstractionInitResponse,HPSOrderAbstractionQueryResponse,LevelTwoPaymentInfo,Merchant,MerchantInitiatedTransaction,OrbitalCaptureRequest,OrbitalCaptureResponse,OrbitalCreatePaymentRequest,OrbitalCreatePaymentResponse,OrbitalErrorResponse,OrbitalRefundRequest,OrbitalRefundResponse,OrbitalReversalRequest,OrbitalReversalResponse,Order,PaymentInstrument,Status,UseProfilePaymentInstrument
Base abstract class that can be used for any DTO that needs to support serializing/deserializing
arbitrary unknown JSON properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String name, Object value) Takes in any additional attributes received in the response not matching any defined properties.protected booleanbooleanInverse any-JSON-field counterpart ofaddAttribute(String, Object)inthashCode()toString()
-
Constructor Details
-
AbstractAdditionalPropertiesAwareDTO
public AbstractAdditionalPropertiesAwareDTO()
-
-
Method Details
-
addAttribute
Takes in any additional attributes received in the response not matching any defined properties.- Parameters:
name- Name of the additional attributevalue- Value of the additional attribute
-
getAttributes
Inverse any-JSON-field counterpart ofaddAttribute(String, Object)- Returns:
- the additional attributes
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-