SCPWechatPayDisplayQrCode

Objective-C


@interface SCPWechatPayDisplayQrCode : NSObject <NSCopying>

Swift

class WechatPayDisplayQrCode : NSObject, NSCopying

Contains instructions for displaying a QR code for WeChat Pay payments.

  • The QR code data string that should be displayed to the customer.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *data;

    Swift

    var data: String? { get }
  • The URL to hosted payment instructions for the customer.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *hostedInstructionsUrl;

    Swift

    var hostedInstructionsUrl: String? { get }
  • A data URL containing the QR code image.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *imageDataUrl;

    Swift

    var imageDataUrl: String? { get }
  • The PNG image URL for the QR code.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *imageUrlPng;

    Swift

    var imageUrlPng: String? { get }
  • The SVG image URL for the QR code.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *imageUrlSvg;

    Swift

    var imageUrlSvg: String? { get }
  • Unavailable

    You cannot directly instantiate SCPWechatPayDisplayQrCode. You should only use one that has been returned by our SDK.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate SCPWechatPayDisplayQrCode. You should only use one that has been returned by our SDK.

    Declaration

    Objective-C

    + (nonnull instancetype)new;