com.instamojo.wrapper.model.PaymentOrderResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of instamojo-java Show documentation
Show all versions of instamojo-java Show documentation
Instamojo Payments Java Wrapper
The newest version!
package com.instamojo.wrapper.model;
import com.google.gson.annotations.SerializedName;
/**
* The Class PaymentOrderResponse.
*/
public class PaymentOrderResponse {
/**
* The payment order.
*/
@SerializedName("order")
private PaymentOrder paymentOrder;
/**
* The payment options.
*/
@SerializedName("payment_options")
private PaymentOptions paymentOptions;
/**
* Gets the payment order.
*
* @return the payment order
*/
public PaymentOrder getPaymentOrder() {
return paymentOrder;
}
/**
* Sets the payment order.
*
* @param paymentOrder the new payment order
*/
public void setPaymentOrder(PaymentOrder paymentOrder) {
this.paymentOrder = paymentOrder;
}
/**
* Gets the payment options.
*
* @return the payment options
*/
public PaymentOptions getPaymentOptions() {
return paymentOptions;
}
/**
* Sets the payment options.
*
* @param paymentOptions the new payment options
*/
public void setPaymentOptions(PaymentOptions paymentOptions) {
this.paymentOptions = paymentOptions;
}
@Override
public String toString() {
return "PaymentOrderResponse{" +
"paymentOrder=" + paymentOrder +
", paymentOptions=" + paymentOptions +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy