Class PayrollCardService

java.lang.Object
com.wechat.pay.java.service.payrollcard.PayrollCardService

public class PayrollCardService extends Object
PayrollCardService服务
  • Method Details

    • getAuthentication

      public AuthenticationEntity getAuthentication(GetAuthenticationRequest request)
      获取核身结果
      Parameters:
      request - 请求参数
      Returns:
      AuthenticationEntity
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。
    • listAuthentications

      public ListAuthenticationsResponse listAuthentications(ListAuthenticationsRequest request)
      查询核身记录
      Parameters:
      request - 请求参数
      Returns:
      ListAuthenticationsResponse
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。
    • preOrderAuthentication

      public PreOrderAuthenticationResponse preOrderAuthentication(PreOrderAuthenticationRequest request)
      微工卡核身预下单
      Parameters:
      request - 请求参数
      Returns:
      PreOrderAuthenticationResponse
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。
    • preOrderAuthenticationWithAuth

      public PreOrderAuthenticationWithAuthResponse preOrderAuthenticationWithAuth(PreOrderAuthenticationWithAuthRequest request)
      微工卡核身预下单(流程中完成授权)
      Parameters:
      request - 请求参数
      Returns:
      PreOrderAuthenticationWithAuthResponse
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。
    • getRelation

      public RelationEntity getRelation(GetRelationRequest request)
      查询微工卡授权关系
      Parameters:
      request - 请求参数
      Returns:
      RelationEntity
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。
    • createToken

      public TokenEntity createToken(CreateTokenRequest request)
      生成授权token
      Parameters:
      request - 请求参数
      Returns:
      TokenEntity
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。
    • createTransferBatch

      public TransferBatchEntity createTransferBatch(CreateTransferBatchRequest request)
      发起批量转账
      Parameters:
      request - 请求参数
      Returns:
      TransferBatchEntity
      Throws:
      com.wechat.pay.java.core.exception.HttpException - 发送HTTP请求失败。例如构建请求参数失败、发送请求失败、I/O错误等。包含请求信息。
      com.wechat.pay.java.core.exception.ValidationException - 发送HTTP请求成功,验证微信支付返回签名失败。
      com.wechat.pay.java.core.exception.ServiceException - 发送HTTP请求成功,服务返回异常。例如返回状态码小于200或大于等于300。
      com.wechat.pay.java.core.exception.MalformedMessageException - 服务返回成功,content-type不为application/json、解析返回体失败。