Package com.adyen.model.tapi
Class RepeatedResponseMessageBody
- java.lang.Object
-
- com.adyen.model.tapi.RepeatedResponseMessageBody
-
public class RepeatedResponseMessageBody extends Object
RepeatedResponseMessageBody
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CARD_ACQUISITION_RESPONSEstatic StringJSON_PROPERTY_CARD_READER_A_P_D_U_RESPONSEstatic StringJSON_PROPERTY_LOYALTY_RESPONSEstatic StringJSON_PROPERTY_PAYMENT_RESPONSEstatic StringJSON_PROPERTY_REVERSAL_RESPONSEstatic StringJSON_PROPERTY_STORED_VALUE_RESPONSE
-
Constructor Summary
Constructors Constructor Description RepeatedResponseMessageBody()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RepeatedResponseMessageBodycardAcquisitionResponse(CardAcquisitionResponse cardAcquisitionResponse)cardAcquisitionResponseRepeatedResponseMessageBodycardReaderAPDUResponse(CardReaderAPDUResponse cardReaderAPDUResponse)cardReaderAPDUResponsebooleanequals(Object o)Return true if this RepeatedResponseMessageBody object is equal to o.static RepeatedResponseMessageBodyfromJson(String jsonString)Create an instance of RepeatedResponseMessageBody given an JSON stringCardAcquisitionResponsegetCardAcquisitionResponse()Get cardAcquisitionResponseCardReaderAPDUResponsegetCardReaderAPDUResponse()Get cardReaderAPDUResponseMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.LoyaltyResponsegetLoyaltyResponse()Get loyaltyResponsePaymentResponsegetPaymentResponse()Get paymentResponseReversalResponsegetReversalResponse()Get reversalResponseStoredValueResponsegetStoredValueResponse()Get storedValueResponseinthashCode()RepeatedResponseMessageBodyincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.RepeatedResponseMessageBodyloyaltyResponse(LoyaltyResponse loyaltyResponse)loyaltyResponseRepeatedResponseMessageBodypaymentResponse(PaymentResponse paymentResponse)paymentResponseRepeatedResponseMessageBodyreversalResponse(ReversalResponse reversalResponse)reversalResponsevoidsetCardAcquisitionResponse(CardAcquisitionResponse cardAcquisitionResponse)cardAcquisitionResponsevoidsetCardReaderAPDUResponse(CardReaderAPDUResponse cardReaderAPDUResponse)cardReaderAPDUResponsevoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetLoyaltyResponse(LoyaltyResponse loyaltyResponse)loyaltyResponsevoidsetPaymentResponse(PaymentResponse paymentResponse)paymentResponsevoidsetReversalResponse(ReversalResponse reversalResponse)reversalResponsevoidsetStoredValueResponse(StoredValueResponse storedValueResponse)storedValueResponseRepeatedResponseMessageBodystoredValueResponse(StoredValueResponse storedValueResponse)storedValueResponseStringtoJson()Convert an instance of RepeatedResponseMessageBody to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_LOYALTY_RESPONSE
public static final String JSON_PROPERTY_LOYALTY_RESPONSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_RESPONSE
public static final String JSON_PROPERTY_PAYMENT_RESPONSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REVERSAL_RESPONSE
public static final String JSON_PROPERTY_REVERSAL_RESPONSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORED_VALUE_RESPONSE
public static final String JSON_PROPERTY_STORED_VALUE_RESPONSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_ACQUISITION_RESPONSE
public static final String JSON_PROPERTY_CARD_ACQUISITION_RESPONSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARD_READER_A_P_D_U_RESPONSE
public static final String JSON_PROPERTY_CARD_READER_A_P_D_U_RESPONSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
loyaltyResponse
public RepeatedResponseMessageBody loyaltyResponse(LoyaltyResponse loyaltyResponse)
loyaltyResponse- Parameters:
loyaltyResponse-- Returns:
- the current
RepeatedResponseMessageBodyinstance, allowing for method chaining
-
getLoyaltyResponse
public LoyaltyResponse getLoyaltyResponse()
Get loyaltyResponse- Returns:
- loyaltyResponse
-
setLoyaltyResponse
public void setLoyaltyResponse(LoyaltyResponse loyaltyResponse)
loyaltyResponse- Parameters:
loyaltyResponse-
-
paymentResponse
public RepeatedResponseMessageBody paymentResponse(PaymentResponse paymentResponse)
paymentResponse- Parameters:
paymentResponse-- Returns:
- the current
RepeatedResponseMessageBodyinstance, allowing for method chaining
-
getPaymentResponse
public PaymentResponse getPaymentResponse()
Get paymentResponse- Returns:
- paymentResponse
-
setPaymentResponse
public void setPaymentResponse(PaymentResponse paymentResponse)
paymentResponse- Parameters:
paymentResponse-
-
reversalResponse
public RepeatedResponseMessageBody reversalResponse(ReversalResponse reversalResponse)
reversalResponse- Parameters:
reversalResponse-- Returns:
- the current
RepeatedResponseMessageBodyinstance, allowing for method chaining
-
getReversalResponse
public ReversalResponse getReversalResponse()
Get reversalResponse- Returns:
- reversalResponse
-
setReversalResponse
public void setReversalResponse(ReversalResponse reversalResponse)
reversalResponse- Parameters:
reversalResponse-
-
storedValueResponse
public RepeatedResponseMessageBody storedValueResponse(StoredValueResponse storedValueResponse)
storedValueResponse- Parameters:
storedValueResponse-- Returns:
- the current
RepeatedResponseMessageBodyinstance, allowing for method chaining
-
getStoredValueResponse
public StoredValueResponse getStoredValueResponse()
Get storedValueResponse- Returns:
- storedValueResponse
-
setStoredValueResponse
public void setStoredValueResponse(StoredValueResponse storedValueResponse)
storedValueResponse- Parameters:
storedValueResponse-
-
cardAcquisitionResponse
public RepeatedResponseMessageBody cardAcquisitionResponse(CardAcquisitionResponse cardAcquisitionResponse)
cardAcquisitionResponse- Parameters:
cardAcquisitionResponse-- Returns:
- the current
RepeatedResponseMessageBodyinstance, allowing for method chaining
-
getCardAcquisitionResponse
public CardAcquisitionResponse getCardAcquisitionResponse()
Get cardAcquisitionResponse- Returns:
- cardAcquisitionResponse
-
setCardAcquisitionResponse
public void setCardAcquisitionResponse(CardAcquisitionResponse cardAcquisitionResponse)
cardAcquisitionResponse- Parameters:
cardAcquisitionResponse-
-
cardReaderAPDUResponse
public RepeatedResponseMessageBody cardReaderAPDUResponse(CardReaderAPDUResponse cardReaderAPDUResponse)
cardReaderAPDUResponse- Parameters:
cardReaderAPDUResponse-- Returns:
- the current
RepeatedResponseMessageBodyinstance, allowing for method chaining
-
getCardReaderAPDUResponse
public CardReaderAPDUResponse getCardReaderAPDUResponse()
Get cardReaderAPDUResponse- Returns:
- cardReaderAPDUResponse
-
setCardReaderAPDUResponse
public void setCardReaderAPDUResponse(CardReaderAPDUResponse cardReaderAPDUResponse)
cardReaderAPDUResponse- Parameters:
cardReaderAPDUResponse-
-
includeNullValues
public RepeatedResponseMessageBody includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this RepeatedResponseMessageBody object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static RepeatedResponseMessageBody fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RepeatedResponseMessageBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RepeatedResponseMessageBody
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RepeatedResponseMessageBody
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RepeatedResponseMessageBody to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-