def receivable_id=(receivable_id)
      if receivable_id.nil?
        fail ArgumentError, "receivable_id cannot be nil"
      end

      if receivable_id.to_s.length < 1
        fail ArgumentError, "invalid value for 'receivable_id', the character length must be great than or equal to 1."
      end

      @receivable_id = receivable_id
    end
def receivable_id=(receivable_id)
      if receivable_id.nil?
        fail ArgumentError, "receivable_id cannot be nil"
      end

      if receivable_id.to_s.length < 1
        fail ArgumentError, "invalid value for 'receivable_id', the character length must be great than or equal to 1."
      end

      @receivable_id = receivable_id
    end
Custom attribute writer method with validation
 @param [Object] receivable_id Value to be assigned