def card_nonce=(card_nonce)

      if !card_nonce.nil? && card_nonce.to_s.length > 192
        fail ArgumentError, "invalid value for 'card_nonce', the character length must be smaller than or equal to 192."
      end

      @card_nonce = card_nonce
    end
def card_nonce=(card_nonce)

      if !card_nonce.nil? && card_nonce.to_s.length > 192
        fail ArgumentError, "invalid value for 'card_nonce', the character length must be smaller than or equal to 192."
      end

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