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

jp.gopay.sdk.models.request.subscription.SubscriptionUpdateData Maven / Gradle / Ivy

There is a newer version: 0.11.17
Show newest version
package jp.gopay.sdk.models.request.subscription;

import com.google.gson.annotations.SerializedName;
import jp.gopay.sdk.models.common.TransactionTokenId;
import jp.gopay.sdk.models.response.subscription.ScheduleSettings;
import jp.gopay.sdk.types.MetadataMap;
import jp.gopay.sdk.types.SubscriptionPeriod;
import jp.gopay.sdk.types.SubscriptionStatus;

import java.math.BigInteger;
import java.util.Date;

public class SubscriptionUpdateData extends SubscriptionRequestData{

    @SerializedName("status")
    SubscriptionStatus status;

    public SubscriptionUpdateData(TransactionTokenId transactionTokenId,
                                  SubscriptionPeriod period,
                                  BigInteger initialAmount,
                                  MetadataMap metadata,
                                  InstallmentPlanRequest installmentPlan,
                                  ScheduleSettings scheduleSettings,
                                  Date subsequentCyclesStart,
                                  SubscriptionStatus status,
                                  Boolean onlyDirectCurrency,
                                  String descriptor) {
        super(transactionTokenId,
                period,
                initialAmount,
                metadata,
                installmentPlan,
                scheduleSettings,
                subsequentCyclesStart,
                onlyDirectCurrency,
                descriptor);
        this.status = status;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy