java.lang.Object
com.intershop.component.rest.capi.resourceobject.AbstractResourceObject
com.intershop.issup.sellside.rest.mycoupon.v1.capi.resourceobject.mycoupon.MyCouponRO
All Implemented Interfaces:
com.intershop.component.rest.capi.resourceobject.ResourceObject

public class MyCouponRO extends com.intershop.component.rest.capi.resourceobject.AbstractResourceObject
This is the resource object for my coupon code.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class com.intershop.component.rest.capi.resourceobject.AbstractResourceObject

    type, TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    void
     

    Methods inherited from class com.intershop.component.rest.capi.resourceobject.AbstractResourceObject

    getName, setName, setType, toDebugString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • MyCouponRO

      public MyCouponRO()
  • Method Details

    • getCode

      public String getCode()
      Returns:
      the coupon code
    • setCode

      public void setCode(String code)
      Parameters:
      code - the coupon code to set
    • getType

      public String getType()
      Specified by:
      getType in interface com.intershop.component.rest.capi.resourceobject.ResourceObject
      Overrides:
      getType in class com.intershop.component.rest.capi.resourceobject.AbstractResourceObject