title: How to get "paymentState" from in-app subscription or subscription is free trail or not?
body: <p>As per <a href="https://developers.google.com/android-publisher/api-ref/purchases/subscriptions" rel="nofollow noreferrer">google document</a> a paymentState -> (return integer)  The payment state of the subscription. Possible values are:</p>
  
  <ol>
  <li>Payment pending -> 0 </li>
  <li>Payment received -> 1  </li>
  <li>Free trial -> 2  </li>
  <li>Pending deferred upgrade/downgrade -> 3</li>
  </ol>
  
  <p>Can anybody help me get this "paymentState" field by codding?</p>