Class InvoicingSrv.Create_result
java.lang.Object
dev.vality.damsel.payment_processing.InvoicingSrv.Create_result
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvoicingSrv.Create_result>,org.apache.thrift.TBase<InvoicingSrv.Create_result,InvoicingSrv.Create_result._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- InvoicingSrv
public static class InvoicingSrv.Create_result extends Object implements org.apache.thrift.TBase<InvoicingSrv.Create_result,InvoicingSrv.Create_result._Fields>, Serializable, Cloneable, Comparable<InvoicingSrv.Create_result>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoicingSrv.Create_result._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description AllocationExceededPaymentAmountex10AllocationInvalidTransactionex11InvalidRequestex2PartyNotFoundex3ShopNotFoundex4InvalidPartyStatusex5InvalidShopStatusex6InvalidContractStatusex7InvoiceTermsViolatedex8AllocationNotAllowedex9static Map<InvoicingSrv.Create_result._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapInvoicesuccess -
Constructor Summary
Constructors Constructor Description Create_result()Create_result(Invoice success, InvalidRequest ex2, PartyNotFound ex3, ShopNotFound ex4, InvalidPartyStatus ex5, InvalidShopStatus ex6, InvalidContractStatus ex7, InvoiceTermsViolated ex8, AllocationNotAllowed ex9, AllocationExceededPaymentAmount ex10, AllocationInvalidTransaction ex11)Create_result(InvoicingSrv.Create_result other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(InvoicingSrv.Create_result other)InvoicingSrv.Create_resultdeepCopy()booleanequals(InvoicingSrv.Create_result that)booleanequals(Object that)InvoicingSrv.Create_result._FieldsfieldForId(int fieldId)AllocationExceededPaymentAmountgetEx10()AllocationInvalidTransactiongetEx11()InvalidRequestgetEx2()PartyNotFoundgetEx3()ShopNotFoundgetEx4()InvalidPartyStatusgetEx5()InvalidShopStatusgetEx6()InvalidContractStatusgetEx7()InvoiceTermsViolatedgetEx8()AllocationNotAllowedgetEx9()Map<InvoicingSrv.Create_result._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()InvoicingSrv.Create_result._Fields[]getFields()ObjectgetFieldValue(InvoicingSrv.Create_result._Fields field)InvoicegetSuccess()inthashCode()booleanisSet(InvoicingSrv.Create_result._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetEx10()Returns true if field ex10 is set (has been assigned a value) and false otherwisebooleanisSetEx11()Returns true if field ex11 is set (has been assigned a value) and false otherwisebooleanisSetEx2()Returns true if field ex2 is set (has been assigned a value) and false otherwisebooleanisSetEx3()Returns true if field ex3 is set (has been assigned a value) and false otherwisebooleanisSetEx4()Returns true if field ex4 is set (has been assigned a value) and false otherwisebooleanisSetEx5()Returns true if field ex5 is set (has been assigned a value) and false otherwisebooleanisSetEx6()Returns true if field ex6 is set (has been assigned a value) and false otherwisebooleanisSetEx7()Returns true if field ex7 is set (has been assigned a value) and false otherwisebooleanisSetEx8()Returns true if field ex8 is set (has been assigned a value) and false otherwisebooleanisSetEx9()Returns true if field ex9 is set (has been assigned a value) and false otherwisebooleanisSetSuccess()Returns true if field success is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)InvoicingSrv.Create_resultsetEx10(AllocationExceededPaymentAmount ex10)voidsetEx10IsSet(boolean value)InvoicingSrv.Create_resultsetEx11(AllocationInvalidTransaction ex11)voidsetEx11IsSet(boolean value)InvoicingSrv.Create_resultsetEx2(InvalidRequest ex2)voidsetEx2IsSet(boolean value)InvoicingSrv.Create_resultsetEx3(PartyNotFound ex3)voidsetEx3IsSet(boolean value)InvoicingSrv.Create_resultsetEx4(ShopNotFound ex4)voidsetEx4IsSet(boolean value)InvoicingSrv.Create_resultsetEx5(InvalidPartyStatus ex5)voidsetEx5IsSet(boolean value)InvoicingSrv.Create_resultsetEx6(InvalidShopStatus ex6)voidsetEx6IsSet(boolean value)InvoicingSrv.Create_resultsetEx7(InvalidContractStatus ex7)voidsetEx7IsSet(boolean value)InvoicingSrv.Create_resultsetEx8(InvoiceTermsViolated ex8)voidsetEx8IsSet(boolean value)InvoicingSrv.Create_resultsetEx9(AllocationNotAllowed ex9)voidsetEx9IsSet(boolean value)voidsetFieldValue(InvoicingSrv.Create_result._Fields field, Object value)InvoicingSrv.Create_resultsetSuccess(Invoice success)voidsetSuccessIsSet(boolean value)StringtoString()voidunsetEx10()voidunsetEx11()voidunsetEx2()voidunsetEx3()voidunsetEx4()voidunsetEx5()voidunsetEx6()voidunsetEx7()voidunsetEx8()voidunsetEx9()voidunsetSuccess()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
success
-
ex2
-
ex3
-
ex4
-
ex5
-
ex6
-
ex7
-
ex8
-
ex9
-
ex10
-
ex11
-
metaDataMap
public static final Map<InvoicingSrv.Create_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
Create_result
public Create_result() -
Create_result
public Create_result(Invoice success, InvalidRequest ex2, PartyNotFound ex3, ShopNotFound ex4, InvalidPartyStatus ex5, InvalidShopStatus ex6, InvalidContractStatus ex7, InvoiceTermsViolated ex8, AllocationNotAllowed ex9, AllocationExceededPaymentAmount ex10, AllocationInvalidTransaction ex11) -
Create_result
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvoicingSrv.Create_result,InvoicingSrv.Create_result._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvoicingSrv.Create_result,InvoicingSrv.Create_result._Fields>
-
getSuccess
-
setSuccess
-
unsetSuccess
public void unsetSuccess() -
isSetSuccess
public boolean isSetSuccess()Returns true if field success is set (has been assigned a value) and false otherwise -
setSuccessIsSet
public void setSuccessIsSet(boolean value) -
getEx2
-
setEx2
-
unsetEx2
public void unsetEx2() -
isSetEx2
public boolean isSetEx2()Returns true if field ex2 is set (has been assigned a value) and false otherwise -
setEx2IsSet
public void setEx2IsSet(boolean value) -
getEx3
-
setEx3
-
unsetEx3
public void unsetEx3() -
isSetEx3
public boolean isSetEx3()Returns true if field ex3 is set (has been assigned a value) and false otherwise -
setEx3IsSet
public void setEx3IsSet(boolean value) -
getEx4
-
setEx4
-
unsetEx4
public void unsetEx4() -
isSetEx4
public boolean isSetEx4()Returns true if field ex4 is set (has been assigned a value) and false otherwise -
setEx4IsSet
public void setEx4IsSet(boolean value) -
getEx5
-
setEx5
-
unsetEx5
public void unsetEx5() -
isSetEx5
public boolean isSetEx5()Returns true if field ex5 is set (has been assigned a value) and false otherwise -
setEx5IsSet
public void setEx5IsSet(boolean value) -
getEx6
-
setEx6
-
unsetEx6
public void unsetEx6() -
isSetEx6
public boolean isSetEx6()Returns true if field ex6 is set (has been assigned a value) and false otherwise -
setEx6IsSet
public void setEx6IsSet(boolean value) -
getEx7
-
setEx7
-
unsetEx7
public void unsetEx7() -
isSetEx7
public boolean isSetEx7()Returns true if field ex7 is set (has been assigned a value) and false otherwise -
setEx7IsSet
public void setEx7IsSet(boolean value) -
getEx8
-
setEx8
-
unsetEx8
public void unsetEx8() -
isSetEx8
public boolean isSetEx8()Returns true if field ex8 is set (has been assigned a value) and false otherwise -
setEx8IsSet
public void setEx8IsSet(boolean value) -
getEx9
-
setEx9
-
unsetEx9
public void unsetEx9() -
isSetEx9
public boolean isSetEx9()Returns true if field ex9 is set (has been assigned a value) and false otherwise -
setEx9IsSet
public void setEx9IsSet(boolean value) -
getEx10
-
setEx10
-
unsetEx10
public void unsetEx10() -
isSetEx10
public boolean isSetEx10()Returns true if field ex10 is set (has been assigned a value) and false otherwise -
setEx10IsSet
public void setEx10IsSet(boolean value) -
getEx11
-
setEx11
-
unsetEx11
public void unsetEx11() -
isSetEx11
public boolean isSetEx11()Returns true if field ex11 is set (has been assigned a value) and false otherwise -
setEx11IsSet
public void setEx11IsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InvoicingSrv.Create_result,InvoicingSrv.Create_result._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvoicingSrv.Create_result,InvoicingSrv.Create_result._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<InvoicingSrv.Create_result,InvoicingSrv.Create_result._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvoicingSrv.Create_result>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvoicingSrv.Create_result,InvoicingSrv.Create_result._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvoicingSrv.Create_result,InvoicingSrv.Create_result._Fields>
-
getFieldMetaData
public Map<InvoicingSrv.Create_result._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvoicingSrv.Create_result,InvoicingSrv.Create_result._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-