com.adyen.model.marketpay.notification.TransferFundsNotificationContent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adyen-java-api-library Show documentation
Show all versions of adyen-java-api-library Show documentation
Adyen API Client Library for Java
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
*
* Adyen Java API Library
*
* Copyright (c) 2017 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
package com.adyen.model.marketpay.notification;
import com.adyen.model.Amount;
import com.adyen.model.marketpay.OperationStatus;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class TransferFundsNotificationContent {
@SerializedName("sourceAccountCode")
private String sourceAccountCode;
@SerializedName("destinationAccountCode")
private String destinationAccountCode;
@SerializedName("amount")
private Amount amount;
@SerializedName("transferCode")
private String transferCode;
@SerializedName("status")
private OperationStatus status;
@SerializedName("merchantReference")
private String merchantReference;
@SerializedName("invalidFields")
private List invalidFields = null;
public String getSourceAccountCode() {
return sourceAccountCode;
}
public void setSourceAccountCode(String sourceAccountCode) {
this.sourceAccountCode = sourceAccountCode;
}
public String getDestinationAccountCode() {
return destinationAccountCode;
}
public void setDestinationAccountCode(String destinationAccountCode) {
this.destinationAccountCode = destinationAccountCode;
}
public Amount getAmount() {
return amount;
}
public void setAmount(Amount amount) {
this.amount = amount;
}
public String getTransferCode() {
return transferCode;
}
public void setTransferCode(String transferCode) {
this.transferCode = transferCode;
}
public OperationStatus getStatus() {
return status;
}
public void setStatus(OperationStatus status) {
this.status = status;
}
public String getMerchantReference() {
return merchantReference;
}
public void setMerchantReference(String merchantReference) {
this.merchantReference = merchantReference;
}
public List getInvalidFields() {
return invalidFields;
}
public void setInvalidFields(List invalidFields) {
this.invalidFields = invalidFields;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("TransferFundsNotificationContent{");
sb.append("sourceAccountCode='").append(sourceAccountCode).append('\'');
sb.append(", destinationAccountCode='").append(destinationAccountCode).append('\'');
sb.append(", amount=").append(amount);
sb.append(", transferCode='").append(transferCode).append('\'');
sb.append(", status=").append(status);
sb.append(", merchantReference='").append(merchantReference).append('\'');
sb.append(", invalidFields=").append(invalidFields);
sb.append('}');
return sb.toString();
}
}