package cashfree;

import java.io.Serializable;
import java.util.Map;

public class SubscriptionResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    // =========================================================
    // SUCCESS RESPONSE - Subscription
    // =========================================================

    private String cf_subscription_id;
    private String subscription_id;
    private String subscription_status;

    private String subscription_expiry_time;
    private String subscription_first_charge_time;

    private String subscription_session_id;
    private String subscription_note;

    // =========================================================
    // SUCCESS RESPONSE - Customer
    // =========================================================

    private String customer_name;
    private String customer_email;
    private String customer_phone;

    private String customer_bank_account_holder_name;
    private String customer_bank_account_number;
    private String customer_bank_ifsc;
    private String customer_bank_code;
    private String customer_bank_account_type;

    // =========================================================
    // SUCCESS RESPONSE - Plan
    // =========================================================

    private String plan_id;
    private String plan_name;
    private String plan_type;

    private int plan_max_cycles;

    private double plan_recurring_amount;
    private double plan_max_amount;

    private String plan_interval_type;

    private int plan_intervals;

    private String plan_currency;
    private String plan_note;
    private String plan_status;

    // =========================================================
    // SUCCESS RESPONSE - Authorization
    // =========================================================

    private double authorization_amount;

    private boolean authorization_amount_refund;

    private String authorization_reference;
    private String authorization_time;
    private String authorization_status;

    private String payment_id;
    private String payment_group;

    // =========================================================
    // SUCCESS RESPONSE - Payment Method
    // =========================================================

    private String payment_method;

    private String payment_channel;
    private String payment_auth_mode;

    private String payment_account_type;
    private String payment_account_number;
    private String payment_account_ifsc;
    private String payment_account_holder_name;
    private String payment_account_bank_code;

    // =========================================================
    // SUCCESS RESPONSE - Schedule
    // =========================================================

    private String next_schedule_date;

    // =========================================================
    // SUCCESS RESPONSE - Subscription Meta
    // =========================================================

    private String return_url;

    // =========================================================
    // SUCCESS RESPONSE - Tags / Splits
    // =========================================================

    private Map<String, String> subscription_tags;

    private Object subscription_payment_splits;

    // =========================================================
    // ERROR RESPONSE
    // =========================================================

    private String message;
    private String help;
    private String code;
    private String type;


    // =========================================================
    // Getters & Setters
    // =========================================================

    public String getCf_subscription_id() {
        return cf_subscription_id;
    }

    public void setCf_subscription_id(String cf_subscription_id) {
        this.cf_subscription_id = cf_subscription_id;
    }

    public String getSubscription_id() {
        return subscription_id;
    }

    public void setSubscription_id(String subscription_id) {
        this.subscription_id = subscription_id;
    }

    public String getSubscription_status() {
        return subscription_status;
    }

    public void setSubscription_status(String subscription_status) {
        this.subscription_status = subscription_status;
    }

    public String getSubscription_expiry_time() {
        return subscription_expiry_time;
    }

    public void setSubscription_expiry_time(String subscription_expiry_time) {
        this.subscription_expiry_time = subscription_expiry_time;
    }

    public String getSubscription_first_charge_time() {
        return subscription_first_charge_time;
    }

    public void setSubscription_first_charge_time(
            String subscription_first_charge_time) {
        this.subscription_first_charge_time =
                subscription_first_charge_time;
    }

    public String getSubscription_session_id() {
        return subscription_session_id;
    }

    public void setSubscription_session_id(
            String subscription_session_id) {
        this.subscription_session_id =
                subscription_session_id;
    }

    public String getSubscription_note() {
        return subscription_note;
    }

    public void setSubscription_note(String subscription_note) {
        this.subscription_note = subscription_note;
    }


    // =========================================================
    // Customer
    // =========================================================

    public String getCustomer_name() {
        return customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String getCustomer_email() {
        return customer_email;
    }

    public void setCustomer_email(String customer_email) {
        this.customer_email = customer_email;
    }

    public String getCustomer_phone() {
        return customer_phone;
    }

    public void setCustomer_phone(String customer_phone) {
        this.customer_phone = customer_phone;
    }

    public String getCustomer_bank_account_holder_name() {
        return customer_bank_account_holder_name;
    }

    public void setCustomer_bank_account_holder_name(
            String customer_bank_account_holder_name) {
        this.customer_bank_account_holder_name =
                customer_bank_account_holder_name;
    }

    public String getCustomer_bank_account_number() {
        return customer_bank_account_number;
    }

    public void setCustomer_bank_account_number(
            String customer_bank_account_number) {
        this.customer_bank_account_number =
                customer_bank_account_number;
    }

    public String getCustomer_bank_ifsc() {
        return customer_bank_ifsc;
    }

    public void setCustomer_bank_ifsc(String customer_bank_ifsc) {
        this.customer_bank_ifsc = customer_bank_ifsc;
    }

    public String getCustomer_bank_code() {
        return customer_bank_code;
    }

    public void setCustomer_bank_code(String customer_bank_code) {
        this.customer_bank_code = customer_bank_code;
    }

    public String getCustomer_bank_account_type() {
        return customer_bank_account_type;
    }

    public void setCustomer_bank_account_type(
            String customer_bank_account_type) {
        this.customer_bank_account_type =
                customer_bank_account_type;
    }


    // =========================================================
    // Plan
    // =========================================================

    public String getPlan_id() {
        return plan_id;
    }

    public void setPlan_id(String plan_id) {
        this.plan_id = plan_id;
    }

    public String getPlan_name() {
        return plan_name;
    }

    public void setPlan_name(String plan_name) {
        this.plan_name = plan_name;
    }

    public String getPlan_type() {
        return plan_type;
    }

    public void setPlan_type(String plan_type) {
        this.plan_type = plan_type;
    }

    public int getPlan_max_cycles() {
        return plan_max_cycles;
    }

    public void setPlan_max_cycles(int plan_max_cycles) {
        this.plan_max_cycles = plan_max_cycles;
    }

    public double getPlan_recurring_amount() {
        return plan_recurring_amount;
    }

    public void setPlan_recurring_amount(
            double plan_recurring_amount) {
        this.plan_recurring_amount =
                plan_recurring_amount;
    }

    public double getPlan_max_amount() {
        return plan_max_amount;
    }

    public void setPlan_max_amount(double plan_max_amount) {
        this.plan_max_amount = plan_max_amount;
    }

    public String getPlan_interval_type() {
        return plan_interval_type;
    }

    public void setPlan_interval_type(
            String plan_interval_type) {
        this.plan_interval_type = plan_interval_type;
    }

    public int getPlan_intervals() {
        return plan_intervals;
    }

    public void setPlan_intervals(int plan_intervals) {
        this.plan_intervals = plan_intervals;
    }

    public String getPlan_currency() {
        return plan_currency;
    }

    public void setPlan_currency(String plan_currency) {
        this.plan_currency = plan_currency;
    }

    public String getPlan_note() {
        return plan_note;
    }

    public void setPlan_note(String plan_note) {
        this.plan_note = plan_note;
    }

    public String getPlan_status() {
        return plan_status;
    }

    public void setPlan_status(String plan_status) {
        this.plan_status = plan_status;
    }


    // =========================================================
    // Authorization
    // =========================================================

    public double getAuthorization_amount() {
        return authorization_amount;
    }

    public void setAuthorization_amount(
            double authorization_amount) {
        this.authorization_amount =
                authorization_amount;
    }

    public boolean isAuthorization_amount_refund() {
        return authorization_amount_refund;
    }

    public void setAuthorization_amount_refund(
            boolean authorization_amount_refund) {
        this.authorization_amount_refund =
                authorization_amount_refund;
    }

    public String getAuthorization_reference() {
        return authorization_reference;
    }

    public void setAuthorization_reference(
            String authorization_reference) {
        this.authorization_reference =
                authorization_reference;
    }

    public String getAuthorization_time() {
        return authorization_time;
    }

    public void setAuthorization_time(
            String authorization_time) {
        this.authorization_time =
                authorization_time;
    }

    public String getAuthorization_status() {
        return authorization_status;
    }

    public void setAuthorization_status(
            String authorization_status) {
        this.authorization_status =
                authorization_status;
    }

    public String getPayment_id() {
        return payment_id;
    }

    public void setPayment_id(String payment_id) {
        this.payment_id = payment_id;
    }

    public String getPayment_group() {
        return payment_group;
    }

    public void setPayment_group(String payment_group) {
        this.payment_group = payment_group;
    }


    // =========================================================
    // Payment Method
    // =========================================================

    public String getPayment_method() {
        return payment_method;
    }

    public void setPayment_method(String payment_method) {
        this.payment_method = payment_method;
    }

    public String getPayment_channel() {
        return payment_channel;
    }

    public void setPayment_channel(String payment_channel) {
        this.payment_channel = payment_channel;
    }

    public String getPayment_auth_mode() {
        return payment_auth_mode;
    }

    public void setPayment_auth_mode(String payment_auth_mode) {
        this.payment_auth_mode = payment_auth_mode;
    }

    public String getPayment_account_type() {
        return payment_account_type;
    }

    public void setPayment_account_type(
            String payment_account_type) {
        this.payment_account_type =
                payment_account_type;
    }

    public String getPayment_account_number() {
        return payment_account_number;
    }

    public void setPayment_account_number(
            String payment_account_number) {
        this.payment_account_number =
                payment_account_number;
    }

    public String getPayment_account_ifsc() {
        return payment_account_ifsc;
    }

    public void setPayment_account_ifsc(
            String payment_account_ifsc) {
        this.payment_account_ifsc =
                payment_account_ifsc;
    }

    public String getPayment_account_holder_name() {
        return payment_account_holder_name;
    }

    public void setPayment_account_holder_name(
            String payment_account_holder_name) {
        this.payment_account_holder_name =
                payment_account_holder_name;
    }

    public String getPayment_account_bank_code() {
        return payment_account_bank_code;
    }

    public void setPayment_account_bank_code(
            String payment_account_bank_code) {
        this.payment_account_bank_code =
                payment_account_bank_code;
    }


    // =========================================================
    // Schedule
    // =========================================================

    public String getNext_schedule_date() {
        return next_schedule_date;
    }

    public void setNext_schedule_date(
            String next_schedule_date) {
        this.next_schedule_date =
                next_schedule_date;
    }


    // =========================================================
    // Meta
    // =========================================================

    public String getReturn_url() {
        return return_url;
    }

    public void setReturn_url(String return_url) {
        this.return_url = return_url;
    }


    // =========================================================
    // Tags / Splits
    // =========================================================

    public Map<String, String> getSubscription_tags() {
        return subscription_tags;
    }

    public void setSubscription_tags(
            Map<String, String> subscription_tags) {
        this.subscription_tags =
                subscription_tags;
    }

    public Object getSubscription_payment_splits() {
        return subscription_payment_splits;
    }

    public void setSubscription_payment_splits(
            Object subscription_payment_splits) {
        this.subscription_payment_splits =
                subscription_payment_splits;
    }


    // =========================================================
    // Error Response
    // =========================================================

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getHelp() {
        return help;
    }

    public void setHelp(String help) {
        this.help = help;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}