com.softlayer.api.service.billing.payment.Processor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.billing.payment;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Account;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.billing.payment.processor.Method;
import com.softlayer.api.service.billing.payment.processor.Type;
import java.util.ArrayList;
import java.util.List;
/**
* @see SoftLayer_Billing_Payment_Processor
*/
@ApiType("SoftLayer_Billing_Payment_Processor")
public class Processor extends Entity {
@ApiProperty
protected List brandAssignments;
public List getBrandAssignments() {
if (brandAssignments == null) {
brandAssignments = new ArrayList();
}
return brandAssignments;
}
@ApiProperty
protected Account ownerAccount;
public Account getOwnerAccount() {
return ownerAccount;
}
public void setOwnerAccount(Account ownerAccount) {
this.ownerAccount = ownerAccount;
}
@ApiProperty
protected List paymentMethods;
public List getPaymentMethods() {
if (paymentMethods == null) {
paymentMethods = new ArrayList();
}
return paymentMethods;
}
@ApiProperty
protected Type type;
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String description;
public String getDescription() {
return description;
}
public void setDescription(String description) {
descriptionSpecified = true;
this.description = description;
}
protected boolean descriptionSpecified;
public boolean isDescriptionSpecified() {
return descriptionSpecified;
}
public void unsetDescription() {
description = null;
descriptionSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String name;
public String getName() {
return name;
}
public void setName(String name) {
nameSpecified = true;
this.name = name;
}
protected boolean nameSpecified;
public boolean isNameSpecified() {
return nameSpecified;
}
public void unsetName() {
name = null;
nameSpecified = false;
}
/**
* A count of
*/
@ApiProperty
protected Long brandAssignmentCount;
public Long getBrandAssignmentCount() {
return brandAssignmentCount;
}
public void setBrandAssignmentCount(Long brandAssignmentCount) {
this.brandAssignmentCount = brandAssignmentCount;
}
/**
* A count of
*/
@ApiProperty
protected Long paymentMethodCount;
public Long getPaymentMethodCount() {
return paymentMethodCount;
}
public void setPaymentMethodCount(Long paymentMethodCount) {
this.paymentMethodCount = paymentMethodCount;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.brand.payment.Processor.Mask brandAssignments() {
return withSubMask("brandAssignments", com.softlayer.api.service.brand.payment.Processor.Mask.class);
}
public com.softlayer.api.service.Account.Mask ownerAccount() {
return withSubMask("ownerAccount", com.softlayer.api.service.Account.Mask.class);
}
public com.softlayer.api.service.billing.payment.processor.Method.Mask paymentMethods() {
return withSubMask("paymentMethods", com.softlayer.api.service.billing.payment.processor.Method.Mask.class);
}
public com.softlayer.api.service.billing.payment.processor.Type.Mask type() {
return withSubMask("type", com.softlayer.api.service.billing.payment.processor.Type.Mask.class);
}
public Mask description() {
withLocalProperty("description");
return this;
}
public Mask name() {
withLocalProperty("name");
return this;
}
public Mask brandAssignmentCount() {
withLocalProperty("brandAssignmentCount");
return this;
}
public Mask paymentMethodCount() {
withLocalProperty("paymentMethodCount");
return this;
}
}
}