1 package org.opencrx.kernel.product1.cci; 14 15 public class GetPriceLevelResultImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefStruct_1 17 implements GetPriceLevelResult { 18 19 public GetPriceLevelResultImpl( 20 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage, 21 java.util.List args 22 ) { 23 super(refPackage, args); 24 } 25 26 public GetPriceLevelResultImpl( 27 org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage, 28 java.lang.Object arg 29 ) { 30 super(refPackage, arg); 31 } 32 33 public String refQualifiedTypeName( 34 ) { 35 return "org:opencrx:kernel:product1:GetPriceLevelResult"; 36 } 37 38 public java.math.BigDecimal getDiscount ( 42 ) { 43 return (java.math.BigDecimal )this.refGetValue("discount", 0); 44 } 45 public Boolean isDiscountIsPercentage ( 49 ) { 50 return (Boolean )this.refGetValue("discountIsPercentage", 0); 51 } 52 public org.opencrx.kernel.product1.cci.PriceLevel getPriceLevel ( 56 ) { 57 return (org.opencrx.kernel.product1.cci.PriceLevel)this.refGetValue("priceLevel", 0); 58 } 59 public short getStatusCode( 63 ) { 64 return getStatusCode(0); 65 } 66 67 private short getStatusCode( 68 int index 69 ) { 70 return ((java.lang.Number )this.refGetValue("org:opencrx:kernel:product1:GetPriceLevelResult:statusCode", index)).shortValue(); 71 } 72 73 public String getStatusMessage ( 77 ) { 78 return (String )this.refGetValue("statusMessage", 0); 79 } 80 } 84 | Popular Tags |