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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<InvoicingSrv.Create_result._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionCreate_result(Invoice success, InvalidRequest ex2, PartyNotFound ex3, ShopNotFound ex4, InvalidPartyStatus ex5, InvalidShopStatus ex6, InvalidContractStatus ex7, InvoiceTermsViolated ex8, AllocationNotAllowed ex9, AllocationExceededPaymentAmount ex10, AllocationInvalidTransaction ex11) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) getEx10()getEx11()getEx2()getEx3()getEx4()getEx5()getEx6()getEx7()getEx8()getEx9()Map<InvoicingSrv.Create_result._Fields,org.apache.thrift.meta_data.FieldMetaData> inthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field ex10 is set (has been assigned a value) and false otherwisebooleanReturns 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 otherwisebooleanReturns true if field success is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetEx10IsSet(boolean value) voidsetEx11IsSet(boolean value) setEx2(InvalidRequest ex2) voidsetEx2IsSet(boolean value) setEx3(PartyNotFound ex3) voidsetEx3IsSet(boolean value) setEx4(ShopNotFound ex4) voidsetEx4IsSet(boolean value) setEx5(InvalidPartyStatus ex5) voidsetEx5IsSet(boolean value) setEx6(InvalidShopStatus ex6) voidsetEx6IsSet(boolean value) voidsetEx7IsSet(boolean value) voidsetEx8IsSet(boolean value) voidsetEx9IsSet(boolean value) voidsetFieldValue(InvoicingSrv.Create_result._Fields field, Object value) setSuccess(Invoice success) voidsetSuccessIsSet(boolean value) toString()voidvoidvoidunsetEx2()voidunsetEx3()voidunsetEx4()voidunsetEx5()voidunsetEx6()voidunsetEx7()voidunsetEx8()voidunsetEx9()voidvoidvalidate()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
-