com.tinypass.client.publisher.model.ApplyPaymentMethodDTO Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class ApplyPaymentMethodDTO {
/* Count of user subscription to which default payment method is applied */
private Integer updatedSubscriptionCount = null;
/* Count of user subscription to which default payment method apply is failed */
private Integer updateFailedSubscriptionCount = null;
public Integer getUpdatedSubscriptionCount() {
return updatedSubscriptionCount;
}
public void setUpdatedSubscriptionCount(Integer updatedSubscriptionCount) {
this.updatedSubscriptionCount = updatedSubscriptionCount;
}
public Integer getUpdateFailedSubscriptionCount() {
return updateFailedSubscriptionCount;
}
public void setUpdateFailedSubscriptionCount(Integer updateFailedSubscriptionCount) {
this.updateFailedSubscriptionCount = updateFailedSubscriptionCount;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ApplyPaymentMethodDTO {\n");
sb.append(" updatedSubscriptionCount: ").append(updatedSubscriptionCount).append("\n");
sb.append(" updateFailedSubscriptionCount: ").append(updateFailedSubscriptionCount).append("\n");
sb.append("}\n");
return sb.toString();
}
}