com.softlayer.api.service.billing.payment.processor.Method 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.processor;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.billing.payment.Processor;
import com.softlayer.api.service.billing.payment.Type;
/**
* @see SoftLayer_Billing_Payment_Processor_Method
*/
@ApiType("SoftLayer_Billing_Payment_Processor_Method")
public class Method extends Entity {
@ApiProperty
protected Processor paymentProcessor;
public Processor getPaymentProcessor() {
return paymentProcessor;
}
public void setPaymentProcessor(Processor paymentProcessor) {
this.paymentProcessor = paymentProcessor;
}
@ApiProperty
protected Type paymentType;
public Type getPaymentType() {
return paymentType;
}
public void setPaymentType(Type paymentType) {
this.paymentType = paymentType;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String methodKey;
public String getMethodKey() {
return methodKey;
}
public void setMethodKey(String methodKey) {
methodKeySpecified = true;
this.methodKey = methodKey;
}
protected boolean methodKeySpecified;
public boolean isMethodKeySpecified() {
return methodKeySpecified;
}
public void unsetMethodKey() {
methodKey = null;
methodKeySpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected Boolean multipleCurrencyFlag;
public Boolean getMultipleCurrencyFlag() {
return multipleCurrencyFlag;
}
public void setMultipleCurrencyFlag(Boolean multipleCurrencyFlag) {
multipleCurrencyFlagSpecified = true;
this.multipleCurrencyFlag = multipleCurrencyFlag;
}
protected boolean multipleCurrencyFlagSpecified;
public boolean isMultipleCurrencyFlagSpecified() {
return multipleCurrencyFlagSpecified;
}
public void unsetMultipleCurrencyFlag() {
multipleCurrencyFlag = null;
multipleCurrencyFlagSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public com.softlayer.api.service.billing.payment.Processor.Mask paymentProcessor() {
return withSubMask("paymentProcessor", com.softlayer.api.service.billing.payment.Processor.Mask.class);
}
public com.softlayer.api.service.billing.payment.Type.Mask paymentType() {
return withSubMask("paymentType", com.softlayer.api.service.billing.payment.Type.Mask.class);
}
public Mask methodKey() {
withLocalProperty("methodKey");
return this;
}
public Mask multipleCurrencyFlag() {
withLocalProperty("multipleCurrencyFlag");
return this;
}
}
}