code: public static PaymentSession parsePaymentRequest(Protos.PaymentRequest paymentRequest)
              throws PaymentProtocolException {
          return new PaymentSession(paymentRequest, false, null);
      }
docs: Parse a payment request.
  
  @param paymentRequest payment request to parse
  @return instance of {@link PaymentSession}, used as a value object
  @throws PaymentProtocolException