Class: Aws::PaymentCryptographyData::Types::PinData

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-paymentcryptographydata/types.rb

Overview

Note:

PinData is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PinData corresponding to the set member.

Parameters that are required to generate, translate, or verify PIN data.

Direct Known Subclasses

PinOffset, Unknown, VerificationValue

Defined Under Namespace

Classes: PinOffset, Unknown, VerificationValue

Constant Summary collapse

SENSITIVE =
[:pin_offset, :verification_value]

Instance Attribute Summary collapse

Instance Attribute Details

#pin_offsetString

The PIN offset value.

Returns:

  • (String)


1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1974

class PinData < Struct.new(
  :pin_offset,
  :verification_value,
  :unknown)
  SENSITIVE = [:pin_offset, :verification_value]
  include Aws::Structure
  include Aws::Structure::Union

  class PinOffset < PinData; end
  class VerificationValue < PinData; end
  class Unknown < PinData; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1974
1975
1976
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1974

def unknown
  @unknown
end

#verification_valueString

The unique data to identify a cardholder. In most cases, this is the same as cardholder’s Primary Account Number (PAN). If a value is not provided, it defaults to PAN.

Returns:

  • (String)


1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1974

class PinData < Struct.new(
  :pin_offset,
  :verification_value,
  :unknown)
  SENSITIVE = [:pin_offset, :verification_value]
  include Aws::Structure
  include Aws::Structure::Union

  class PinOffset < PinData; end
  class VerificationValue < PinData; end
  class Unknown < PinData; end
end