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​(java.lang.String json)` |
  `static void` | `getAllFields​(java.util.List<java.lang.reflect.Field> fields, java.lang.Class<?> type)` |
  `static void` | `setField​(java.lang.Object obj, java.lang.Class<?> clazz, java.lang.String fieldName, java.lang.Object value)` |
  `default java.lang.String` | `toJson()` |
  `default java.lang.String` | `toJson​(int indent)` |

- ## Method Details

  - ### getAllFields

    static void getAllFields​(java.util.List<java.lang.reflect.Field> fields, java.lang.Class<?> type)

  - ### toJson

    default java.lang.String toJson​(int indent)

  - ### toJson

    default java.lang.String toJson()

  - ### setField

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

  - ### fromJson

    default void fromJson​(java.lang.String json)