All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mangopay.entities.RecurringPaymentUpdate Maven / Gradle / Ivy

The newest version!
package com.mangopay.entities;

import com.google.gson.annotations.SerializedName;
import com.mangopay.core.Billing;
import com.mangopay.core.Dto;
import com.mangopay.core.EntityBase;
import com.mangopay.core.Shipping;

import java.lang.reflect.Type;
import java.util.Map;

public class RecurringPaymentUpdate extends EntityBase {
    @SerializedName("CardId")
    private String cardId;

    @SerializedName("Billing")
    private Billing billing;

    @SerializedName("Shipping")
    private Shipping shipping;

    @SerializedName("Status")
    private String status;

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public Billing getBilling() {
        return billing;
    }

    public void setBilling(Billing billing) {
        this.billing = billing;
    }

    public Shipping getShipping() {
        return shipping;
    }

    public void setShipping(Shipping shipping) {
        this.shipping = shipping;
    }

    public String getStatus() { return status; }

    public void setStatus(String status) { this.status = status; }

    @Override
    public Map getSubObjects() {
        Map result = super.getSubObjects();

        result.put("Shipping", Shipping.class);
        result.put("Billing", Billing.class);

        return result;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy