Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Encryptor

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly encrypt

encrypt: (paymentRequest: PaymentRequest) => Promise<string>

Encrypts the given payment request. Calls PaymentRequest.validate, so it's not necessary to do that first. If validation fails, the returned promise is rejected with the validation errors.

Type declaration