1 package org.opencrx.kernel.product1.cci; 14 15 public class PriceOverrideEnabledImpl 16 extends org.openmdx.base.accessor.jmi.spi.RefObject_1 17 implements PriceOverrideEnabled { 18 19 public PriceOverrideEnabledImpl( 20 org.openmdx.base.accessor.generic.cci.Object_1_0 object, 21 javax.jmi.reflect.RefClass refClass 22 ) { 23 super(object, refClass); 24 } 25 26 public java.math.BigDecimal getDiscount ( 30 ) { 31 return (java.math.BigDecimal )this.refGetValue("discount", 0); 32 } 33 public void setDiscount( 37 java.math.BigDecimal newValue 38 ) { 39 refSetValue("org:opencrx:kernel:product1:PriceOverrideEnabled:discount", 0, newValue); 40 } 41 42 public Boolean isDiscountIsPercentage ( 46 ) { 47 return (Boolean )this.refGetValue("discountIsPercentage", 0); 48 } 49 public void setDiscountIsPercentage( 53 Boolean newValue 54 ) { 55 refSetValue("org:opencrx:kernel:product1:PriceOverrideEnabled:discountIsPercentage", 0, newValue); 56 } 57 58 public Boolean isOverridePrice ( 62 ) { 63 return (Boolean )this.refGetValue("overridePrice", 0); 64 } 65 public void setOverridePrice( 69 Boolean newValue 70 ) { 71 refSetValue("org:opencrx:kernel:product1:PriceOverrideEnabled:overridePrice", 0, newValue); 72 } 73 74 public org.opencrx.kernel.product1.cci.PricingRule getPricingRule( 78 ) { 79 return (org.opencrx.kernel.product1.cci.PricingRule)refGetValue( 80 "org:opencrx:kernel:product1:PriceOverrideEnabled:pricingRule" 81 ); 82 } 83 84 public void setPricingRule( 88 org.opencrx.kernel.product1.cci.PricingRule newValue 89 ) { 90 refSetValue( 91 "org:opencrx:kernel:product1:PriceOverrideEnabled:pricingRule", 92 newValue 93 ); 94 } 95 96 public void removePricingRule ( 100 ) { 101 refRemoveValue( 102 "org:opencrx:kernel:product1:PriceOverrideEnabled:pricingRule" 103 ); 104 } 105 } 109 | Popular Tags |