Package ru.bitel.bgbilling.plugins.sbpilot.common.bean

# Interface JsoneableModel

All Known Implementing Classes:
  `SbPilotPayment`

public interface JsoneableModel

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default void`
  `fromJson(String json)`
  `static void`
  `getAllFields(List<Field> fields, Class<?> type)`
  `static void`
  `setField(Object obj, Class<?> clazz, String fieldName, Object value)`
  `default String`
  `toJson()`
  `default String`
  `toJson(int indent)`

- ## Method Details

  - ### getAllFields

    static void getAllFields(List<Field> fields, Class<?> type)

  - ### toJson

    default String toJson(int indent)

  - ### toJson

    default String toJson()

  - ### setField

    static void setField(Object obj, Class<?> clazz, String fieldName, Object value) throws IllegalArgumentException, IllegalAccessException, NoSuchFieldException
    Throws:
      `IllegalArgumentException`
      `IllegalAccessException`
      `NoSuchFieldException`

  - ### fromJson

    default void fromJson(String json)